| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|DNS redirection co uk to com|
Once DNS has been set, how should the records be updated
| 9:27 am on May 31, 2011 (gmt 0)|
I have two domains a .co.uk domain and a .com domain. They need to both point at the same content that is hosted at the .com domain.
I have requested the .co.uk domains NS entries be updated to the DNS servers for the .com domain.
Old domain name = website.co.uk
New domain name = website.com
New DNS servers = ns71.newdomain.com and ns72.newdomain.com
So, the NS records for website.co.uk have been set to ns71.newdomain.com and ns72.newdomain.com
I now need to know what to add to the DNS on the new service so that requests for website.co.uk get redirected to website.com
I have currently added two CNAME records
website.co.uk CNAME website.com
www.website.co.uk CNAME www.website.com
But this does not seem to work, lease time is set to 1 hour
Any thoughts on what I am doing wrong or what I have missed out?
Thanks in advance
| 12:27 pm on Jun 3, 2011 (gmt 0)|
Welcome to WebmasterWorld adjman
You want to point your .co.uk at your .com?
Many name registrars let you do this via their control panel as url-forwarding, if they do not offer that simply contact your name registrar and ask them to point your .co.uk at your .com
Some panels automatically redirect both with and without the www however some do not therefore you may have to manually do both.
I have lots of names I do this with, I don't do anything with DNS, CNAME or anything else.
| 9:06 am on Jun 6, 2011 (gmt 0)|
Thanks for the response. I shall contact the registrar and get them to re-point the DNS back to their own and then just re-point the .co.uk address to the .com
| 12:05 pm on Jun 20, 2011 (gmt 0)|
|They need to both point at the same content that is hosted at the .com domain. |
You want both to return "200 OK"?
|I now need to know what to add to the DNS on the new service so that requests for website.co.uk get redirected to website.com. |
You want one to return a 301 redirect to the other?
Which one do you want? Both are possible, each with their own advantages and disadvantages.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved