Moving your website to a new host without losing email

CJ Digital builds fast, secure, high-performing websites - backed by local hosting, proven digital marketing expertise and real local support.

Moving your website to a new host means copying the site to the new server, testing the copy, then changing your domain’s settings so visitors reach it. Your email runs on separate settings on the same domain, and keeps working only if those are still correct after the move. List every setting before anything changes, and switch only when the email ones are in place.

Say a Melbourne physio practice moves its website to an Australian host before the end of the financial year on 30 June. The new host asks it to switch the domain’s nameservers, which hold its settings, to the new host’s. After that, the domain’s settings are read from the new host, so the email ones must be there first.

Your website and email use separate settings

Close view of a printed DNS inventory with tabs marking A and MX rows beside a silver pen.

DNS records are your domain’s settings that tell the internet where to find things. One record sends visitors to your website’s server. Another, the MX (mail exchange) record, directs your email. Microsoft calls the MX record “required” and says it “specifies where email for the domain should go”.

Moving your website doesn’t move your email. When a business points its MX record to Microsoft 365, Microsoft says new email starts arriving there while its website “keeps working where it is”. A host move changes the website’s record, and email is affected only if its records are lost, changed or left behind.

PartWhat it doesWhat to check before the move
Website files and databaseThe site itself: pages, images and contentThe new host has a full, working copy
Website recordSends visitors to your website’s serverThe setting you change to make the move
MX recordSends your email to your mailboxesWritten down, and set up wherever your settings will be kept
SPF recordLists who may send email for your domainOne record only, copied as it is, plus the new server if your website form sends email
Mailboxes and old messagesHeld by your email providerIf that is the old web host, copy old messages before the account closes

The first two rows are what the move changes. The last three decide whether email keeps working, and the website won’t show whether they are right.

The four accounts behind a website and inbox

Four account-record folders labelled Registrar, DNS, Web host and Email arranged beside a pen and key.

One company or several can hold the four accounts below. For each, know the company and who has the login:

The DNS host matters most, because that is where settings are changed. Its nameservers are the servers that “store your domain’s DNS records”, as one DNS provider’s guide puts it. Pointing the nameservers to a new host moves the DNS host too, so every record must be set up there before the switch.

  • Registrar: where the domain name is registered and renewed.
  • DNS host: where the domain’s settings are kept. It can be the registrar, the web host or another company.
  • Web host: where the website’s files and database live.
  • Email provider: where your mailboxes sit, such as Google Workspace or Microsoft 365.

If you’re unsure about any of them, our guide on who owns your website when the agency relationship ends covers which accounts and logins to keep.

The order that keeps email running

Printed website-migration checklist beside a backup drive, pen and laptop corner.

Your developer or new host may do these steps, but knowing the order lets you check them. They follow Google’s hosting guide, with the email steps added:

Without that first list, the records at the new DNS host have nothing to be checked against.

  • First, get a list of every DNS record the domain has today. Include the MX and SPF records and anything your email provider set up, and keep a copy you can read without logging in. One DNS provider warns that its automatic scan “is not guaranteed to find all existing DNS records” and singles out email records.
  • At least a week ahead, shorten the TTL on the records you will change. TTL (time to live) is how long other networks keep a saved copy of a record before checking again. A shorter TTL lets the switch reach people sooner. Google suggests “a conservative low value (for example, a few hours)”.
  • Next, copy the website to the new host and test it on a temporary address. Turn on a noindex setting, which tells Google not to list the test copy. Check pages, images, forms and downloads.
  • If the DNS host is changing too, set up every record at the new one before the nameservers change. Check each against your list, MX and SPF included.
  • Then change the domain’s settings to send visitors to the new host. Just before you do, remove any setting hiding the new copy from Google.
  • Last, keep the old hosting running until no visitors are reaching it, then close it. If your email was with the old web host, keep that account open until email is set up elsewhere and old messages are copied.

Email records that get left behind

Current and new DNS record printouts compared on a desk, with tabs marking mail-related rows.

Three record gaps can cause email trouble, and none shows on the website:

Each gap is fixed by putting the right record in place. For the physio practice, that means MX and SPF records waiting at the new host before the switch.

  • The MX record is missing at the new DNS host. Email to your business addresses, customer enquiries included, no longer reaches your mailboxes.
  • The SPF record is not copied, or a second one is added beside it. Microsoft’s guidance is a single SPF record that lists every service sending email for the domain.
  • The contact form sends from a server the SPF record doesn’t list. Google’s sender guidelines say the record “should include all email senders for your domain”. Gmail is more likely to mark mail from senders left out as spam, so form enquiries can land in junk.

Tests to run after the switch

Phone contact form and laptop email inbox beside a website-and-email test checklist.

After the switch, run these checks:

Repeat the email and form tests the next day. Internet providers usually keep saved copies of DNS records until the TTL runs out, so the change reaches networks at different times.

  • Email a business address from an outside account, such as your phone, and reply.
  • Fill in the website’s contact form and confirm the notification arrives.
  • Open the site on a phone, off the office wi-fi, and check the padlock shows and pages, images and forms work.
  • Look the domain up in more than one public DNS checking tool, as Google suggests.
  • Confirm Google Search Console, which reports how Google sees your site, still lists you as the owner. Google says to copy across the verification file or meta tag.

When a host move turns into a rebuild

Printed old-to-new page-address worksheet beside a laptop, pen and clipped documents.

Google’s hosting guide covers only moves that keep every page at the same web address. If page addresses change, it is a rebuild with redirects, covered in our guide on how to rebuild your website without losing your Google rankings.

CJ Digital’s Australian hosting lists Easy Migrations and local phone support among its benefits. Whoever runs your move, ask to see the DNS records list before you book it.

Frequently asked questions

Do I have to move my email when I move my website?

Only if the old web host also runs it. Otherwise your mailboxes stay with your email provider and keep receiving mail wherever the website lives, provided the MX record is in place.

Will my website go offline during the move?

In Google’s order, the old host keeps serving the site until visitors have shifted to the new one. How long that takes varies, so let the old host’s traffic decide when to close it.

Let’s talk about your business and build something great together. 

We’ll help you put the right online foundations in place so customers can easily find, trust and choose your business.