How to move a site to new hosting without downtime or losing rankings
A migration looks like a technical detail right up until the site is down for half a day, email has stopped working, and the search engine has had time to record the outage. The order of operations matters — most problems come from switching DNS too early.
Preparation
-
A full backup: files, database, server configuration, certificates.
-
A list of what lives on the current hosting besides the site: email, subdomains, cron jobs, third-party scripts.
-
Lower the TTL on the DNS records in advance — a day or two before the move. Then the switch propagates in minutes rather than hours.
-
Record the current figures: speed, positions, number of indexed pages. Without that you can't later prove whether anything got worse.
The right order
-
Deploy the site on the new server without touching DNS.
-
Test it by IP or on a temporary domain: pages, forms, admin panel, file uploads.
-
Set up the SSL certificate in advance — otherwise the first visitors after the switch see a browser warning.
-
Re-sync the database immediately before switching, so enquiries received during preparation aren't lost.
-
Switch the DNS.
-
Don't shut the old server down for a few more days — some users and crawlers will keep arriving there while DNS caches update.
What to check straight afterwards
-
Status codes on the main pages — 200, not 500 and not a redirect loop.
-
That forms work: an enquiry must reach both the mailbox and the CRM.
-
robots.txt — did a staging version with
Disallow: /travel across with the site. -
That sitemap.xml is served and reachable by crawlers.
-
Email — it's what most often breaks during a hosting change, because the MX records get forgotten.
About rankings
Moving to a different server doesn't affect positions in itself, provided the page URLs didn't change and the site stayed reachable. Problems arise when the migration also changes the URL structure, loses some pages, or leaves the site down for hours. Those three things are what to control.
If a migration is coming up and you'd rather not gamble, we can run it with preparation and verification against this list.
