WordPress · Hosting · DNS

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

My WordPress migration method: back up, stage on the new host, verify, map DNS and email records, cut over, then check from several regions. With examples.

Mohit Goyal 5 min read
How to move a WordPress site to a new host without downtime

To move a WordPress site to a new host without downtime, take a full backup, set the site up and test it on the new host first, record every DNS record (especially email) before you change anything, then switch DNS and check the result from several regions. Visitors keep reaching the old host until DNS updates, so if both copies work, nobody notices the move. In 2025 I moved five UK client sites this way, without lost email or extended downtime.

Why do WordPress migrations go wrong?

From the hosting migrations I have done, the failures are predictable:

  • Email stops, because the mail records were not recreated on the new DNS.
  • Forms stop sending, because the new host handles mail or caching differently.
  • Some visitors still see the old site, because DNS was only checked from one location.
  • The site has errors, because the PHP version or server settings differ.
  • SSL is missing on the new host for the first visitors.
  • Staging gets indexed and competes with the live site.

Each one has a check in the method below.

What is the step-by-step method?

  1. 1

    Full backup

    Files and database, stored off both servers. This is your way back if anything goes wrong.

  2. 2

    Record DNS

    Export or screenshot every DNS record at the current provider: A, CNAME, MX, TXT and any others.

  3. 3

    Stage on the new host

    Install the site on the new host and reach it through a temporary URL or a hosts-file override.

  4. 4

    Verify there

    Pages, forms, logins, checkout, scheduled tasks and SSL readiness, before any visitor arrives.

  5. 5

    Cut over DNS

    Point the domain at the new host, with mail records checked before and after.

  6. 6

    Check from several regions

    Confirm every region resolves to the new host, then test forms and email again.

  7. 7

    Keep the old host briefly

    Do not cancel the old hosting until traffic has fully moved and the new site is confirmed healthy.

Which migrations has this method been used on?

SiteMoveRisk handled
Samko HoldingsStaging to GoDaddy hosting, 24 and 25 March 2025Full launch from staging with forms wired to the group inbox
Ravens AitGoDaddy staging to the live domain, April 2025Launch of a full venue site with HubSpot enquiry forms
RaasaStaging to the live domain, overnightA hard deadline: live by the next morning
Sun ShoppersTo a new Hostinger account with GoDaddy DNS, October 2025Microsoft 365 email on the same domain
Media and ScreenTo Hostinger with names.co.uk DNSOld host still served in some regions after cutover

How do you keep email working during a migration?

If business email runs on the same domain, email is the real risk, not the website.

For Sun Shoppers, the store moved to a new Hostinger account while DNS stayed at GoDaddy and email ran on Microsoft 365. I mapped every Microsoft 365 record before touching the zone and kept the MX records intact, so mail never dropped.

RecordWhat it doesCheck
MXRoutes incoming mailIdentical before and after
TXT (SPF)Says which servers may send mail for the domainIncludes the new host if the site sends mail
CNAME (autodiscover and DKIM)Mail client setup and signingRecreated exactly
A recordPoints the website at a serverThe only record that should change

Then send and receive a test email from outside the company after the switch.

Should you change nameservers or only the DNS records?

Changing only the A record (and www) keeps the zone where it is, so mail and other records stay untouched. That is the lower-risk option, and it is what I did for Sun Shoppers with GoDaddy DNS.

Changing nameservers moves the whole zone to a new provider. Sometimes that is right, for example moving DNS to Cloudflare, but every record has to exist at the new provider first.

What should you test after the cutover?

  • Resolution from several regions. For Media and Screen, some regions were still served the old host after the cutover. It took a geo-DNS fix to correct, and it showed why checking from a single location is not enough.
  • Every form. On two sites, GoDaddy's Airo Plus cache was swallowing form submissions. It looked like a form plugin bug but was the host's optimisation layer, and upgrading PHP from 8.0 to 8.3 fixed it at the root.
  • Email, sending and receiving.
  • SSL on both the bare domain and www.
  • Redirects, including http to https and the non-preferred host to the preferred one.
  • Payments and webhooks, such as Stripe, if the site takes money.
  • Search settings. The live site is indexable and staging is not. On Wow Vastra I de-indexed the staging site so it could not compete with the live store.

Should you upgrade PHP during a migration?

Usually yes, and test on staging first. A new host is a natural moment to move to a supported version. Easy Parenting Hub went live on the client's Hostinger server with PHP 8.3. On the GoDaddy sites, the PHP upgrade fixed the form problem and kept each site on a supported version.

What should you have at the end of a migration?

  • Hosting in your own account, not the developer's.
  • DNS and mail you understand, with the records written down.
  • A full backup or export. For Samko Holdings I produced a full backup and export for the client, which they can hand to any future developer.

After the five moves in 2025, each client ran on hosting they control, with DNS and mail they understand.

Moving a site soon? I handle migrations, DNS and ongoing care through my hosting, migrations and maintenance service. Send me the domain and I will reply with a migration plan.

Frequently asked

Will my website go down during a migration?+

Not if both copies work. Visitors keep reaching the old host until DNS updates, then reach the new one. Downtime happens when the new copy is broken or the old one is switched off too early.

Will I lose email when I move hosting?+

Only if the mail records are lost. If email runs on the same domain, copy the MX and related records exactly before changing anything, and test sending and receiving after the switch.

How long does DNS take to update?+

It depends on the TTL set on your records and on caching by internet providers. Some visitors see the new host quickly and others later, which is why both copies must work during the switch.

Should I change nameservers or just the A record?+

Changing only the A record keeps the rest of your DNS where it is, which is the lower-risk option. Changing nameservers moves the whole zone, so every record has to be recreated first.

Can you migrate a site if the old developer is unreachable?+

Usually, yes, if you have the hosting login or a full backup, plus access to the domain registrar. That is why owning your own accounts matters.

Mohit Goyal

Written by Mohit Goyal

Senior Web Developer in Gurugram, India. 100+ fast, SEO-friendly sites shipped in 4+ years with Next.js, React and WordPress, including the procol.ai rebuild. Send me your next project.

Keep reading

Let's build

Have a site that needs to be fast, rank and convert?

Open to Work. Usually replies within a day.