Questions

How do I move hosts without downtime?

Prepare in this order: lower the time to live well in advance, get the new host serving the site correctly at a temporary address with a valid certificate, then change the DNS record, then leave the old host running until the previous TTL has fully elapsed. Downtime during a host move is almost always caused by changing DNS before the destination is ready, or by switching the old host off too early.

Days before — lower the TTL

Reduce the TTL on the records you will change to a few minutes, and do it at least one full previous-TTL period before the move.

This is the only step that cannot be done later. Copies already cached expire on the old value regardless of what you publish afterwards.

Leave everything else alone. Lowering the TTL is not itself a change of destination and causes no visible effect.

Note the previous TTL value, because it tells you how long you must keep the old host running after the switch.

Before the switch — make the new host actually work

Serve the real site at the new host, reachable by a temporary hostname or by editing your own hosts file so you can test it under the real name.

Issue the certificate for the production hostname at the new host before the switch. A destination without a valid certificate produces a full-page warning rather than a slow page.

Test all four host and scheme combinations at the new destination, and confirm the redirect behaviour matches the old host's.

Verify the application works, not just the home page: forms, logins, uploads, scheduled jobs and anything that talks to a database.

Confirm the new host is not rate-limiting or bot-filtering in a way the old one did not, which is a common source of post-move crawl problems.

The switch itself

Change the address record and verify it immediately at your authoritative nameserver, which proves it was published.

Watch public resolvers converge over the next few minutes, which is what the lowered TTL bought you.

Do not change anything else at the same time. A host move combined with a URL structure change makes every subsequent problem ambiguous.

Keep the mail records untouched unless mail is also moving, and verify them afterwards regardless.

After — keep both running

Leave the old host serving for at least the previous TTL, and comfortably longer. Clients holding a cached answer cannot be reached by anything you publish.

Watch the old host's access logs. Traffic falling to near zero is the signal that the transition has completed.

Keep the data in sync while both are live, or put the old host into a read-only mode, so a visitor landing on the old one does not write data that will be lost.

Restore the TTL to its normal value once traffic has moved, so you are not paying for query volume you do not need.

Verifying the move landed

Compare the site at the new host against the old one page by page for the templates that matter, rather than trusting the home page.

VeriFixScan reports `dns.resolution` and `infrastructure.ip_dns_consistency` for where the name now points, and `transport.certificate_details` and `transport.certificate_coverage` for whether the certificate at the destination is valid and covers the name.

`availability.status_classification` and `availability.broken_links` confirm the site answers and that no section started returning errors at the new host.

Re-check mail records after the move even if you did not touch them, because zone edits are easy to make more broadly than intended.

Frequently asked questions

How long should I keep the old host running?
At least the TTL that was in force before you lowered it, and longer in practice. Watch the old host's logs until traffic reaches near zero.
Can I lower the TTL at the same time as the move?
No. Copies already cached expire on the old value. Lowering it has to happen at least one previous-TTL period beforehand.
Should I move hosts and change URLs together?
No. Doing both at once makes every later problem ambiguous. Move the host, confirm it, then change the URLs separately.

Sources

Related

VeriFixScan crawls a site and applies its checks to every page it reaches, keeping the evidence behind each finding. Scanning one website is free.

Scan a website