Comparing Web Hosting

Independent web hosting reviews, pricing comparisons and practical buying guides.

How to Migrate a Website to a New Web Host: A Step-by-Step Checklist

Our reviews are based on documented research and available provider information. See our review methodology and affiliate disclosure.

Moving a website to a new host is usually manageable when you plan the transfer, test the copy before changing DNS and keep a rollback option. The riskiest migrations are often rushed: a database is missed, email records are overwritten or the old hosting account is cancelled too early.

This guide covers a general migration process for common websites, including WordPress. The exact steps depend on your current platform, control panel, email setup and the migration service offered by the new provider.

Before you start: make a migration plan

  • List the website domains, subdomains, databases, scheduled tasks and email accounts.
  • Record the current DNS records, including A, AAAA, CNAME, MX, TXT and nameserver settings.
  • Check the new host’s supported PHP versions, database versions, storage and resource limits.
  • Confirm whether the new provider offers a migration service and what it includes.
  • Choose a low-traffic migration window if the site handles orders, memberships or frequent user submissions.

Step 1: create and verify a full backup

Back up the website files and database separately, and store a copy somewhere outside the current hosting account. If email is hosted with the same provider, export or otherwise preserve the mailboxes and relevant settings too.

Do not assume a backup is usable just because a backup job completed. Check that the archive can be opened, the database export is present and you know how to restore it. For a business-critical website, perform a test restore in a staging environment before the migration.

Step 2: prepare the new hosting account

Create the account, add the domain and confirm the document root, database and runtime settings. Set up SSL where possible. If the new host uses a different control panel or server stack, review the provider’s migration instructions before uploading files.

Step 3: copy files and databases

Transfer website files using the provider’s migration tool, control panel, SFTP or another supported method. Import the database and update the application configuration with the new database name, username, password and host.

For WordPress, check wp-config.php, file permissions, uploads, plugins, themes and any hard-coded paths. If the domain stays the same, avoid unnecessary search-and-replace operations. If the domain changes, plan a careful URL update and redirect strategy.

Step 4: test the migrated site before changing DNS

Use a temporary URL, staging domain or hosts-file override to inspect the new copy before visitors are sent there. Check the homepage, key landing pages, forms, login, checkout, search, uploads, redirects, SSL and mobile layout.

  • Test the site while logged out and in a private browser window.
  • Check images, CSS, JavaScript and downloadable files.
  • Test contact forms, transactional email and password resets.
  • Test payment and order workflows in the appropriate test mode.
  • Review error logs and database connection messages.
  • Check canonical URLs, robots directives and sitemap availability.

Step 5: lower DNS TTL and prepare the switch

If you control DNS, consider lowering the TTL before the migration so record changes can propagate more quickly. The exact timing depends on the previous TTL and DNS provider. Keep the old hosting account active during the transition.

When ready, update the relevant DNS records or nameservers. Do not change mail records unless email is also moving. If email remains with a separate provider, preserve the existing MX, SPF, DKIM and DMARC records.

Step 6: monitor after the DNS change

DNS changes do not reach every resolver at the same moment. Some visitors may still reach the old server for a period. Monitor both environments, avoid making conflicting edits on two copies and check that new orders or form submissions are not lost.

Step 7: keep a rollback plan

Keep the previous host and its backup until the new site has been stable and all critical workflows have been checked. If a serious problem appears, you may need to restore the old DNS records or temporarily route traffic back while you investigate.

Common migration mistakes

  • Cancelling the old hosting account before the new site has been verified.
  • Copying files but forgetting the database or uploads directory.
  • Overwriting MX or TXT records and breaking email delivery.
  • Testing only the homepage and missing checkout, forms or member login.
  • Changing DNS before SSL and redirects are ready.
  • Failing to account for new PHP versions or plugin compatibility.
  • Allowing users to update content on both old and new copies during propagation.

When should you use a provider migration service?

A provider migration service can be useful when the site is large, uses a complex control panel or has several databases and mailboxes. Check whether the service includes email, DNS, SSL, staging, database repair and post-migration testing. “Free migration” may apply only to a standard WordPress site and may exclude custom applications or email.

Before selecting a new provider, compare the hosting options, review the full cost and renewal terms and check the provider’s migration policy in our reviews.

Migration checklist

  • Full files and database backup created and checked.
  • Email accounts and DNS records documented.
  • New hosting environment prepared.
  • Files and database transferred.
  • Temporary-site tests completed.
  • SSL and redirects confirmed.
  • DNS changed without overwriting unrelated mail records.
  • New site monitored while old hosting remains active.
  • Rollback plan retained until the migration is stable.

Editorial note: migration steps vary by provider and website platform. This guide is general information, not a claim that we have migrated a reader’s site or tested a particular provider’s migration service.

How we research hosting providers

We compare published plan details, renewal terms, resource limits, support policies and other decision-making factors. We do not claim hands-on testing unless it has actually been performed.

Read our review methodology · Editorial policy · Affiliate disclosure