DNS redirect help

Associate
Joined
25 Feb 2016
Posts
219
I'm trying to redirect a .com to a .co.uk of the same name. I had it hosted and used index.html to do it. I want to do it via a DNS record so I don't need the hosting. I think I've got it working adding a www.yo.com cname (ttl 10800) www.yo.co.uk (it doesn't let me add the record without the www.), but it doesn't work if I don't type www. before the .com address. I just get "This site can’t be reached". I can get to the .co.uk site without the www in the address bar.

Can anyone help me fix this?
 
Thanks.

It wont accept @ or a destination address in the A setting. The IP was the same for the .com and .co.uk anyway.

I had a look in cpanel and found redirects under Domains, but am not sure if this requires the domain to be hosted for it work, and it does seem to be working.

I'm thinking of moving my 2 sites to a wordpress hosting and if I do this I'm not sure how to do the .com redirect. I may ask tech support and see what they say.
 
Back
Top Bottom