Short answer
Make a list of every DNS record before you change anything, recreate them at the new provider, lower the TTL a day in advance, and switch the nameservers when nobody is waiting on an important email. Your email keeps working as long as the MX records are the same before and after.
Four things that often get mixed up
- The registrar is where you rent the domain name, like GoDaddy, Namecheap or Squarespace Domains.
- The DNS host is where the records live that say where the website and email are. It is often, but not always, the registrar.
- The website host is where the website files are.
- The email provider is where your inbox is, like Google Workspace or Microsoft 365.
You can change one without changing the others. Most problems happen when someone thinks they are moving the website but actually moves the DNS, and the email records get lost on the way.
DNS records you need to know
| Record | What it does |
|---|---|
| A / AAAA | Points the domain to the website’s server |
| CNAME | Points a subdomain, like www, to another address |
| MX | Says where email to the domain is delivered |
| TXT | Verification and email security: SPF, DKIM, DMARC and ownership checks |
Step by step
- Export or screenshot every DNS record at the current DNS host. Every single one, including the TXT records you do not recognize.
- Lower the TTL to 5 minutes on the records you will change, a day before the move. Then a mistake can be fixed quickly.
- Recreate all records at the new DNS host before you switch anything. The MX and TXT records for email must be exactly the same.
- Switch the nameservers at the registrar, preferably early in the week and not right before a deadline.
- Test the website, send an email to and from the domain, and check that forms still arrive.
- Keep the old setup for a week before you cancel it, in case something was missed.
If you also change email providers
Then the MX records change too, and the move should be planned separately: create the accounts at the new provider, migrate old email, switch MX, and check that both old and new email arrive during the transition.
SPF, DKIM and DMARC
These three TXT records prove that email from your domain is really from you. Without them your emails are more likely to land in spam, and since 2024 Gmail and Yahoo require them from anyone sending in volume.
- SPF lists which servers may send email for the domain.
- DKIM signs every email so the receiver can verify it was not changed.
- DMARC tells receivers what to do with email that fails the checks, and where to send reports.
Common mistakes
- Forgetting the MX records, so email stops arriving.
- Forgetting TXT records, so email starts landing in spam or a service loses its verification.
- Changing nameservers on a Friday afternoon.
- Not having the login to the registrar, because a former designer registered the domain.
- Cancelling the old host before the new one is confirmed working.
If something goes wrong
Do not panic and do not change more things at once. Compare the records at the new DNS host with your list from step 1. Most problems are a missing or mistyped record, and with a low TTL a fix takes effect within minutes.
How we do it
When we launch a website we handle the whole move: DNS, email records, SPF, DKIM and DMARC, and testing afterwards, so your customers never notice. Get in touch if you are planning a move.