Hosting & WordPressOctober 19, 2026

If you need to move wordpress site to new host without downtime, the order of the work matters more than the tool you pick. Build a complete copy of the site on the new host first, test that copy in private, and only then point your domain at the new server. Done in that order, visitors keep seeing a working site throughout, because one of the two servers is always serving a full copy.

A migration done the other way round is where the trouble starts: change the domain first, then find a plugin clash while visitors are already landing on the new server. This guide follows the safe order: prepare, back up, copy, test, switch, and verify. The hands-on work takes 30 minutes to 2 hours.

WordPress Migration Checklist Before You Move Hosts

Most failed migrations fail on preparation, not on the copying itself. Spend ten minutes on these checks first.

Lower Your DNS TTL Before the Switch

Your DNS TTL tells other servers how long to remember where your domain points. If the TTL is set to several hours, visitors can keep being sent to the old server long after you switch. Lower the TTL on your A record to 300 seconds at least 24 to 48 hours before the move.

With a short TTL in place, the changeover takes minutes instead of hours, and the switch is easy to reverse if something looks wrong.

Check PHP and Database Compatibility

Ask the new host which PHP version it runs, and confirm that your theme and plugins support it. A PHP version of 8.1 or higher is a sensible target in 2026, but a jump that is too large can break older code. A version mismatch is one of the most common reasons a site works on the old server and fails on the new one.

If you are unsure which PHP version your current site uses, check the Site Health screen in your WordPress dashboard. It is also worth reading our guide to updating the PHP version in WordPress so you know how to adjust the setting on the new host if the site needs a different version.

Plan for Email and Brief Maintenance

Check where your email lives before you start. If mail runs through your hosting account, decide where it will live after the move. Many owners keep email with a separate provider so hosting changes never interrupt messages.

You may also want a short maintenance window during the final copy, if the site takes comments, orders, or form submissions. For most sites that window stays under 30 minutes, and a plain blog can skip it.

cPanel backup screen before you move a WordPress site to a new host

Step 1: Back Up the WordPress Site in Full

Never start a migration without a complete backup stored somewhere you control. A WordPress site has two halves: the files, which include your themes, plugins, and uploads, and the database, which holds your posts, pages, comments, and settings. Your backup needs both halves, taken at the same time.

  1. Install a migration or backup plugin such as Duplicator, All-in-One WP Migration, or UpdraftPlus on the old site.
  2. Generate a full backup package that includes both the files and the database.
  3. Download the package to your own computer rather than leaving the only copy on the server you are leaving.
  4. Keep a second copy in cloud storage if the backup file is large.
  5. Open the old site’s wp-config.php file and note the database name, username, and password in case you need them during setup.

If you prefer not to use a plugin, cPanel gives you a manual route. Use the Backup tool to download a full account backup, or compress the public_html folder in File Manager and export the database through phpMyAdmin. The manual route gives you full control and works on any host.

Step 2: Prepare the New Hosting Account

The destination should be ready before the site arrives. Nothing here affects your live site, because your domain still points at the old server while you work.

  1. Add your domain to the new host as the primary domain or as an addon domain in cPanel.
  2. Create a fresh database in MySQL Databases, add a database user, and grant that user all privileges.
  3. Save the new database name, username, and password somewhere safe.
  4. Enable a free SSL certificate through AutoSSL or Let’s Encrypt so the copied site loads over HTTPS during testing.
  5. Set the PHP version in Select PHP Version or MultiPHP Manager to match what the old site ran, or to sit slightly above it.

If you are still weighing up providers, our breakdown of how much website migration costs helps you judge whether a paid migration service is worth it.

Step 3: Copy the Site to the New Host

With both ends prepared, you can move the actual site. Migrate the site first and move the traffic second. That single rule is what keeps the move free of downtime.

Copy the Site With a Migration Plugin

Duplicator is built for this job. Upload its installer.php file and the archive file to the public_html folder on the new host using File Manager or FTP. Then open your temporary address with /installer.php added to the end and follow the wizard.

The wizard unpacks the files, imports the database, and updates the site addresses and file paths for the new server. All-in-One WP Migration works in a similar way, with a drag-and-drop import on the new site. For most site owners, the plugin route is the safer choice because it handles the error-prone steps for you.

Copy the Site Manually With FTP and phpMyAdmin

A manual copy takes longer but suits very large or unusual sites. Upload your files to public_html, import the database through phpMyAdmin, and edit wp-config.php with the new database credentials. After that, run a search and replace to update any temporary addresses stored in the database. The Better Search Replace plugin handles that job well.

Whichever route you choose, leave the old site running and untouched. It is still your live site at this stage, and it doubles as your safety net if the copy on the new host has a problem.

DNS nameserver settings to point WordPress at the new hosting server

Step 4: Test the Migrated Site on a Temporary Address

Testing is the step people skip, and skipping it is why migrations break in public. Your new host provides a temporary address for the copied site. You can also edit the hosts file on your own computer so your domain loads from the new server for you alone, while everyone else still sees the old site.

  1. Open the homepage and your most important pages, and click through them as a visitor would.
  2. Submit a test contact form and confirm the message arrives.
  3. Place a test order if the site runs a shop, and check the confirmation email.
  4. Open the browser console with the F12 key and watch for mixed content warnings, which mean some files still load over plain HTTP.
  5. Confirm the padlock appears in the address bar with no certificate warnings.

If you want a safer place to practise this kind of testing in future, our guide to creating a WordPress staging site explains how to clone a site for private checks. Fix anything that fails now, while the copy is still private and the live site is unaffected.

Step 5: Point Your DNS at the New Host

Only switch the traffic once the copy on the new server has passed your checks. The changeover should feel uneventful.

  1. Open the DNS settings at your registrar, or wherever your DNS is managed.
  2. Change the A record for your domain to the IP address of the new host. If the host asked for nameserver changes instead, update those, although an A record change usually spreads faster and is easier to reverse.
  3. Leave the 300-second TTL in place for about 48 hours, then raise it back to a normal value such as 14400.
  4. Watch the change spread with a propagation checker such as whatsmydns.net. Most visitors move within 5 to 15 minutes with a low TTL, and full propagation can take up to 24 hours in rare cases.

During propagation, some visitors reach the old server and others the new one. Both hold a complete working copy, so nobody meets an error page.

Step 6: Verify the New Host and Tidy Up

Once propagation looks complete, confirm that the new server is the one answering requests. Publish a short test post or a draft change and check that it appears. You can also confirm the server address in cPanel on many hosts.

  1. Check that the SSL certificate is valid for your real domain, not only for the temporary address.
  2. Send and receive a test email to confirm mail still flows after the move.
  3. Watch your analytics, forms, and orders for a few days to confirm normal behaviour.
  4. Keep the old hosting account for about 7 days before cancelling it, so you can fall back if a late problem appears.

If the move also involves a new domain name, read our guide to changing a WordPress domain name without losing SEO first, since address changes need redirects. A plain host move with the same addresses should leave rankings untouched.

Checking a migrated WordPress site loads well on the new host

Common WordPress Migration Problems to Watch For

Mixed Content and Broken Images After Migration

Mixed content warnings usually mean some image or script addresses still use HTTP or point at the old location. A search and replace across the database fixes most cases. Check older posts after the switch, since stale addresses tend to hide there.

Sites Too Large for a Migration Plugin

Very large sites can hit plugin size limits. Move the wp-content/uploads folder separately by FTP, then migrate the rest with the plugin. Many hosts also offer a free professional migration, worth taking for a large shop.

Changes Made on the Old Site During the Move

Any comment, order, or form entry submitted on the old site after your final copy will not exist on the new one. That is why the short maintenance window matters for busy sites.

Frequently Asked Questions

How long does a WordPress migration take?

The hands-on work takes 30 minutes to 2 hours for most sites. DNS propagation runs in the background afterwards and can take up to 24 hours, but visitors see a working site throughout because both servers stay live.

Will moving hosts hurt my Google rankings?

Not if the move is clean. Keep every address the same, avoid downtime, and make sure the new host is at least as fast as the old one. Rankings depend on uptime and speed, and a careful migration protects both.

Should I use a plugin or migrate manually?

Use a plugin such as Duplicator unless you are comfortable with FTP and phpMyAdmin. Plugins handle the database import, address replacement, and path updates for you. A manual move gives more control for very large or unusual sites.

Do I need maintenance mode during the move?

Only briefly, and only if your site accepts comments, orders, or form submissions. A blog with static content can skip it, because nothing changes on the old site between the backup and the DNS switch.

When can I cancel the old hosting account?

Wait about 7 days after the switch. Confirm that analytics, forms, email, and orders all behave normally on the new host, and keep your backup files. Then cancel the old account with confidence.

Sarah Mitchell
Written by Sarah Mitchell

Sarah is a web hosting specialist with 8 years of experience running WordPress sites. She writes practical hosting and WordPress guides.

Similar Posts