I'm looking to move a few projects from shared hosting to VPS...and I can't get a straight answer out of my host as to what to expect as far as downtime with setting up nameservers and pointing my domains to them.
As far as I can tell, I'm supposed to set up my new nameservers and aim the relevant domains to these new nameservers.
What I don't get is what happens next.
The name servers have to propigate? And this can take 6-24 hours? Then the domain redirection has to propigate and this too can take 6-24 hours?
Is there any way to know when this propigation has happened? It seems like I'll be flying blind and possible incurring up to 48 hours of downtime on these sites in order to get them working on the new nameservers. Is this normal? Seems awfully inefficient and mysterious. I don't like the idea of passively waiting around with all my sites down while some mysterious process happens "across the internet".
Can anyone clear this up? (I realize this is elementary stuff for this forum, but perhaps helpful for some?)
How can you speed up the time it takes for DNS to propagate? Set your TTL low now, before you the move. (Set it to about 300 seconds.) This means that many DNS servers will query your DNS box every 5 minutes, rather than waiting for a day or two.
You cannot know when propogation is "officially complete" as DNS servers around the world may not respect your TTL and serve old results for a long bit.
What you can do is put up a blanket webpage at the old host saying, "Hey folks, we are moving hosts. If you want to visit the new site click here..." and you can use the new IP address if you have your host configured properly.
If you don't "have" nameservers, you'll want to find a company like dnsmadeeasy.com that can do this for you. Many hosts will do this though. Slicehost, a VPS, has a DNS tab in their admin area. Find out if they can do this for you.
So the steps:
1) Get your new site set up. (Use step 5 liberally to test if it is working correctly without doing any switching yet.)
2) If your VPS does DNS, set up your records. If not, get one like DNSMadeEasy.com and set up your records. Remember to set the TTL to 300 seconds. BUT set the records to point to the IP address of your OLD host.
3) Go to your domain registrar like GoDaddy and change the nameserver to whatever DNS site you used in step 2. They will TELL you the names to enter, it'll be like: ns1.namehost.com, ns2.namehost.com.
4) Give it a couple days for the switchover.
5) Ok, it's the day to switch. First update your hosts file on your PC, to do a last minute test of your new site before the switch. (Add the domain and the new IP address, just google to see how this is done. This allows you to test in advance of the move.)
5) Now switch the A records from your old host to your new host. Tail the log file. You should see traffic in a few minutes.
6) Put up a webpage on the old host pointing to the new host.