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
| Method | Best for | Effort |
|---|---|---|
| Free migration by your new host | Anyone who doesn't want to touch it | None: send access and approve the result |
| Migration plugin | Small and medium sites, non-technical owners | Low |
| cPanel-to-cPanel transfer | Moving between hosts that both use cPanel | Low, done by the host |
| Manual (files and database) | Large sites, developers, unusual setups | Medium |
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)
- Copy files: download the WordPress folder (usually
public_html) or use a migration plugin's export. - Export the database with phpMyAdmin or the plugin.
- Create a database and user on the new host.
- Upload files and import the database on the new host.
- Update wp-config.php with the new database name, user and password.
- Preview before switching: edit your computer's hosts file to point your domain to the new server, then test pages, forms, logins and checkout.
- Switch DNS: change the A record or nameservers to the new host. See connecting a domain to hosting.
- Keep the old host running for a few days while DNS spreads.
- 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
| Problem | Likely fix |
|---|---|
| "Error establishing a database connection" | Check the details in wp-config.php. See the fix |
| Pages show 404 | Re-save permalinks; check .htaccess was copied |
| No padlock, or a certificate warning | Wait for AutoSSL, then run it again. See free SSL certificates |
| Mixed content warnings | Update old http:// links. See fixing mixed content |
| Emails stopped | MX records still point to the old host, or mailboxes weren't moved |
| White screen | A 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.



