1. xxx.com:
has content and web-hosted on some ISP
2. xxx.co.uk:
has no content and you wish that anyone type "http://xxx.CO.UK" on their browser will be automatically redirected to http://www.xxx.COM
Use FreeDNS service of namecheap.com, register your .co.uk domain (free) and configure it like this: