When you change your domain's nameservers, all of your DNS moves to the new provider. Any record you do not recreate there stops working, and email is usually the first thing to break.

Before you change nameservers

  1. Find your current records. Log in where your DNS is managed now and look at the full list of records.
  2. Save a copy. Take screenshots or export the zone if your provider allows it. Pay particular attention to:
    • MX records (where your email is delivered)
    • TXT records, including SPF (v=spf1 …), DMARC (on _dmarc) and any verification codes
    • CNAME records, such as DKIM keys (often named something like selector1._domainkey) and autodiscover
    • Records for other services, such as booking systems, shops or subdomains
  3. Recreate them at the new provider before or straight after you switch the nameservers.
  4. Change the nameservers.
  5. Test. Send an email to your domain from another account, and reply from your domain, once the change has taken effect.

Microsoft 365 and Google Workspace

If your email runs on Microsoft 365 or Google Workspace, your email is not hosted by your website host, so the records above must point to Microsoft or Google exactly as they did before. Both services show the records they expect in their admin centre:

  • Microsoft 365: the Microsoft 365 admin centre, under your domain's DNS records.
  • Google Workspace: the Google Admin console, under your domain's settings.

New hosting plans often add their own MX records for the host's email. If you keep Microsoft 365 or Google Workspace, remove those host MX records so only your real email provider's MX records remain.

The simpler option

If you only want to put your website live, you can usually leave your nameservers alone and change just the A record (and www) to your host's IP address. Your email records are not touched. See Domains, nameservers and DNS records explained.