Web Hosting Talk







View Full Version : Prevent propagation inconsistencies while moving to a new server.


xooMan
08-01-2008, 06:59 AM
Hi all,

imagine this scenario: I host mysite.com on server with IP1, now I change my hosting provider and move my site to IP2. I change nameservers in my registrar's account accordingly. It takes up to 72 hours for the propagation to complete. While propagation is in effect, is it possible to redirect those who request pages from IP1 (NS records not updated yet) to IP2. Probably by tweaking IP1's BIND, etc? In other words, I want visitors coming to the old server be redirected to and served by the new one.

Thanks in advance.

BristolSue
08-02-2008, 04:17 PM
Actually, when I do that, I just leave the old pages up for the 72 hours. When I see no more visitors to the old site, I assume everything has updated and can then cancel the old.

I'm not sure why you'd want to do what you're doing, but just a simple meta refresh/redirect in the original site's head should do it, with the new IP as the destination.

Laila
08-06-2008, 08:55 AM
TTL is most important thing. Set it for 4200, and make sure that on second server TTL will be also set for 4200. You should do this before you`ll change servers. Or best way - use independent dns servers on vps machine, then you will could simply manage A records with fast dns refresh for your clients.