How to Migrate a WordPress Site to a New Host Without Downtime
Moving WordPress to a new host sounds risky, but with a plan you can do it with little or no downtime. The risk comes from rushing: switching DNS before testing, forgetting email, or losing orders on a live store.
Before you start
- Make a full backup of files and database, and store a copy off the server.
- Note where your domain is registered and where its DNS is managed.
- Check where your email is hosted. Email often runs on the old host and breaks if you are not careful.
- List anything special: CDN, cron jobs, custom server settings, SSL certificates.
- Choose a quiet time, ideally when traffic and orders are lowest.
Step by step
- Set up the new hosting account with a current, supported PHP version.
- Lower your DNS TTL to a few minutes, a day or two ahead, so the switch spreads quickly.
- Copy the files and the database to the new host, using a trusted migration plugin or manually.
- Update the configuration with the new database details. If the domain is changing, run a careful search and replace on the database.
- Test the site on the new host before changing DNS, using a temporary URL or by editing your computer's hosts file.
- Check everything: pages, images, forms, logins, and for a store, a full test order.
- Install SSL on the new host so HTTPS works the moment DNS changes.
- Switch DNS to the new host.
- Monitor the site, forms, email and Search Console for a few days.
- Keep the old hosting until you are fully confident, then cancel it.
WooCommerce stores: protect your orders
Orders placed during the move can end up on the old server and be lost. Pick a low-traffic window, consider briefly pausing checkout or using maintenance mode while you take the final copy, and recheck recent orders afterwards. Test payment and webhook settings on the new server too.
Common problems and fixes
- Blank white page: usually a PHP version mismatch or a missing extension. Check the error log.
- 404 errors on pages: re-save your permalinks.
- Redirect loops: check HTTPS settings and the site address options.
- Missing images or mixed content: old URLs remain in the database and need replacing.
- Email stopped: the mail (MX) records were changed or email lived on the old host.
Rollback plan
Because you kept the old host running and lowered your TTL, you can switch DNS back quickly if something goes wrong. Decide in advance what would make you roll back, for example checkout failing.
Want it done for you?
Migrations are routine work for me. Send me your details through the contact form, or see how I handle speed after a move, since a new host is a good moment to optimize.
Frequently asked questions
Will moving hosts hurt my SEO?
Not if the URLs stay the same, the site is fast and nothing breaks. Keep the old URLs, test everything and watch Search Console afterwards.
How long does DNS take to switch?
Lowering the TTL beforehand makes it quick, often minutes, but some visitors may see the old site for a while. That is why you keep the old host running.
Can I migrate WordPress myself?
Yes for simple sites, using a good migration plugin and a backup. For stores or complex sites, an experienced developer reduces the risk.
