Skip to content

Zero Downtime WordPress Migration: How to Move Your Site Without It Going Offline

4 min read

Zero Downtime WordPress Migration: How to Move Your Site Without It Going Offline – WordPress zero downtime migration

Are you moving your site to new hosting or a new domain, dreading those minutes — sometimes hours — when visitors hit a blank page or a connection error? The good news is that a WordPress zero downtime migration is not a matter of luck, but of method. With the right order of steps, you can change the server, the hosting provider or even the domain without anyone on the outside noticing a thing.

Below I show you exactly how it’s done, which mistakes cause outages, and how to confirm everything works before you switch real traffic over.

What “zero downtime” actually means

Zero downtime doesn’t mean nothing is happening behind the scenes. It means that, from the visitor’s and Google’s point of view, the site responds without interruption throughout the move. Not a single second of “Error establishing a database connection”, no lost form, no stray order.

The secret is simple to state but demands discipline: you never touch the live site until the copy on the new server is complete, tested and ready for traffic. Only then do you switch — and you do it so the transition is invisible to whoever happens to be browsing a page.

Why sites go down during a migration

Most outages don’t come from complicated steps, but from haste and the wrong order. Here are the most common causes:

  • Switching DNS too early, before the new server is ready — traffic lands in an empty place.
  • A high TTL on DNS records, which makes the change take hours to propagate, with visitors split between old and new.
  • Editing the live site directly while copying, which leads to lost data: orders, comments, form entries.
  • Hardcoded URLs and paths left over from the old install, producing broken links and images.
  • No real backup before you start — if something goes wrong, you have nowhere to roll back to.

Each of these is avoidable. You just need to work in parallel, not “on top of” the site that’s already online.

Diagram of the steps in a WordPress zero downtime migration: backup, clone, staging test and DNS switch.WordPress Zero Downtime Migration1Full backup2Clone to new server3Test on staging4Switch DNS (low TTL)5Final check
The flow of a WordPress zero downtime migration, from backup to the DNS switch.

The recipe for a WordPress zero downtime migration, step by step

The core idea is that you work on a complete copy, in parallel with the live site, and switch traffic only at the very end. Here’s the flow I use every time:

  • Full backup of files and database — your safety point, one you can return to at any moment.
  • Clone to the new server without touching the domain yet: use a direct IP or a temporary subdomain.
  • Test on staging: check pages, forms, checkout, payments, speed and any console errors.
  • Lower the DNS TTL 24 hours ahead, down to 300 seconds, so propagation is almost instant.
  • Switch DNS over to the new server, followed by a final end-to-end check.

For WooCommerce stores I add one more step: a final database sync right before the switch, so you don’t lose any transaction that came in during the last few minutes.

DNS and TTL — where real continuity comes from

TTL (Time To Live) says how long servers around the world hold on to a DNS record before requesting it again. If the TTL is 24 hours, some visitors will keep seeing the old server for a whole day after you’ve moved everything.

That’s why, one day in advance, you drop the TTL to 300 seconds. At switch time, propagation takes minutes, not hours. Since the old and new servers run the same copy of the site during this window, anyone landing on either one sees exactly the same content. That, in practice, is the whole secret of a move with no pause.

Test before you switch traffic

Never switch “on trust”. Before you change DNS, open the copy on the new server through a local hosts file or a subdomain and go through the site like a real visitor: browse the important pages, submit a test form, place a trial order, check that images load and that no 500 errors appear.

The official WordPress documentation on moving a WordPress site is a solid reference for the technical part, especially for updating URLs in the database. And if you want a cold-eyed check of the current state before the move, a free audit shows you exactly what to clean up or optimize before you leave the old server.

Conclusion: a pause-free migration is a matter of order

A successful migration isn’t a race against the clock, but a calm, verified sequence: backup, clone, test, lowered TTL, switch. As long as you respect the golden rule — don’t touch the live site until the new one is ready — downtime disappears on its own.

If you’d rather not take on the manual risk, a professionally managed WordPress migration includes all of these steps, plus a rollback plan in case of surprises. Whether you do it yourself or with help, you now know what separates a clean move from one that leaves the site offline.