Skip to content
Free website migration on every plan, done by our team.Learn more ›
WordPress

How to move a WordPress site to a new host without downtime

Move WordPress to a new host step by step: back up, copy files and database, update wp-config, test with a hosts-file preview and switch DNS with no downtime.

Short answer: Back up the site, copy the files and database to the new host, update wp-config.php, preview the site on the new server before switching DNS, lower your DNS TTL in advance, then switch and keep the old host running until propagation finishes. Or let your new host do it for free: AuroxHost moves WordPress sites at no cost, usually within a day.

Moving WordPress sounds risky, but it is a routine job once you know the order. The secret to zero downtime is simple: the old site keeps running until the new one is fully tested, and visitors are switched over only at the end.

Choose your method

MethodBest forEffort
Free migration by your new hostAnyone who doesn't want to touch itNone: send access and approve the result
Migration pluginSmall and medium sites, non-technical ownersLow
cPanel-to-cPanel transferMoving between hosts that both use cPanelLow, done by the host
Manual (files and database)Large sites, developers, unusual setupsMedium

Before you start

  • Take a full backup of files and database, and keep it somewhere safe. See WordPress backups.
  • Lower your domain's DNS TTL to 300 seconds a day ahead, so the switch spreads quickly. See DNS propagation.
  • Pause big content changes and orders if possible, so nothing is lost during the move.
  • Note your PHP version and match it, or go newer, on the new host. See which PHP version.
  • List your email accounts, if your email is on the same hosting.

The steps (manual or plugin)

  1. Copy files: download the WordPress folder (usually public_html) or use a migration plugin's export.
  2. Export the database with phpMyAdmin or the plugin.
  3. Create a database and user on the new host.
  4. Upload files and import the database on the new host.
  5. Update wp-config.php with the new database name, user and password.
  6. Preview before switching: edit your computer's hosts file to point your domain to the new server, then test pages, forms, logins and checkout.
  7. Switch DNS: change the A record or nameservers to the new host. See connecting a domain to hosting.
  8. Keep the old host running for a few days while DNS spreads.
  9. Check SSL and email on the new host, then cancel the old plan.

Test checklist before you switch

  • Home page, a few posts and pages, images and menus.
  • Logging in to WordPress admin.
  • Contact forms: do messages arrive?
  • Online store: add to cart, checkout and payment in test mode.
  • Permalinks: click through several links. If you get 404s, re-save Settings → Permalinks. See fixing 404 errors.
  • Speed: run a website speed test on the new server.

If the domain is changing too

Run a careful search-and-replace on the database for the old URL, set up 301 redirects from the old domain and update Google Search Console. See 301 vs 302 redirects and changing your domain without losing SEO.

Common problems after a move

ProblemLikely fix
"Error establishing a database connection"Check the details in wp-config.php. See the fix
Pages show 404Re-save permalinks; check .htaccess was copied
No padlock, or a certificate warningWait for AutoSSL, then run it again. See free SSL certificates
Mixed content warningsUpdate old http:// links. See fixing mixed content
Emails stoppedMX records still point to the old host, or mailboxes weren't moved
White screenA PHP version or plugin conflict. See fixing the WordPress white screen

Let us do it

AuroxHost migrations are free. Our team copies files, databases, email and DNS and checks everything before the switch, usually within 24 hours. You can read the full process in our zero-downtime migration guide, and see changing host without losing SEO.

Frequently asked questions

Will my SEO suffer after moving hosts?

Not if URLs stay the same and the site stays online. Faster hosting can even help.

What about my email?

Move mailboxes too, and update MX records only when the new mailboxes are ready.

How long does a migration take?

Most small and medium sites move within a day. Very large sites or stores can take longer to copy.

Can I move from WordPress.com to my own hosting?

Yes. Export your content from WordPress.com and import it into a new WordPress install, or let us do it. See WordPress.com vs WordPress.org.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.