hosting IP change, how much downtime to expect?
i'm moving my hosted site (same host) to a static IP, I understand there will be some downtime due to DNS caching - does anybody have any tips how to minimize this time and to avoid my users seeing "page not found?"
thanks in advance
Solution 1:
I'm assuming that you're referring to The DNS record that resolves to your web site address. If that's the case then here's my answer. It's slightly different from the answers alreay posted, and I'm not trying to start an argument with anyone:
DNS records don't progagate, they cache. DNS is a pull technology, not a push technology.
DNS records should be cached only for the TTL of the record in question.
99.999% of all DNS clients in the entire world (this includes web browsing clients and other DNS servers) won't have your web site DNS record in their cache. For these clients they'll get the updated information immediately because they'll have to perform a lookup for your web site's DNS record and will find the new information.
The .001% of DNS clients that do have your web site DNS record in their cache will continue to use the old information until the TTL for the DNS record expires, at which time they'll perform a new lookup and get the new information.
So for all intents and purposes you really don't have much to worry about. My suggestion would be to make sure the TTL on the record is reasonable (say 1 hour to 24 hours) and to change the record at a time you expect to have the least traffic, based on the TTL. For example: If the TTL is 1 hour and your site is not busy from midnight to 8 AM then change it sometime between midnight and 8 AM. If the TTL is 24 hours and the site is not busy on weekends then change it over the weekend, etc., etc.
Also, as others are sure to point out, some DNS servers don't honor the TTL. There's nothing you can do about that. That's their problem, not yours. If DNS clients of those DNS servers can't access your site because they're caching the old information beyond the life of the TTL then it's their issue to resolve not yours. You can't account for every one off, errant, misconfigured, or otherwise faulty DNS client or server.
Solution 2:
Tightly control your TTL values before the change. See articles such as:
- http://www.technologytricks.com/speed-up-dns-propagation/
- http://www.netadmintools.com/part232.html
You may also want to leave a 302 redirect page on the existing IP address for a week or so.
Solution 3:
The best/only way of minimising downtime would be to maintain both IP addresses for 48 hours, preferably on the same server, if your supplier will allow this.