this is kind of a follow up of this question, although this is more of a specific question regarding a solution I came up with, inspired by one of the responses.
- I currently have an old website on
Server A
that is a shared server with very limited settings. - I have the new site on
Server B
running on a Linode. - I want
www.somedomain.com
to point to the new site on Server B's IP Address (note:www.
) - I want
somedomain.com
to point to old site,Server A
's IP Address, which will 301 redirect most requests towww.somedomain.com
(i.e. the new site).
I've created a DNS Zone in Linode and redefined all DNS settings, including MX
records and other A
records for ftp, mx, pop, smtp. I've used network-tools.com and checked all A
records and mx records. I can't see any CNAME
s or anything else.
I'm still pretty new to all of this, but my theory is that if I now change the Name Servers being used to point to the Linode Name Servers, then the DNS Zone settings I've defined will take effect (after propagation time). Assuming all my DNS settings are the same as the old DNS settings (as seen on network-tools), except for the www.
subdomain, everything should smoothly transition, right?
Will my theory work? If I change the Name Servers to Linodes 5 name servers, will the settings at Linode be used instead of the old name servers? Can anyone think of any other factors that might affect this logic?
I understand this is a convoluted solution to what seems to be a trivial task, but I have a convoluted problem. If you wish to offer a new solution, please read the question I linked to above, I'll be very happy to hear all suggestions!