DNS & nameservers
How to move a website without interrupting domain email
Work out which DNS records serve your website and which deliver mail. Use this checklist before moving a domain to a new web host.
Website and email migration checklist
- Save the current DNS zone, nameservers and TTLs so you can roll back.
- Confirm the new zone preserves mail routing (MX), SPF, DKIM and DMARC before switching nameservers. Coordinate DNSSEC if enabled.
- Open the root domain and www on HTTPS after the switch.
- Send an email from an outside mailbox, reply and check that both messages arrive.
A website can load perfectly at its new host while mail quietly stops arriving. Before launch, establish exactly what is moving. If the DNS provider stays the same, a web host can usually be connected by changing only the web records it specifies.
Take an inventory before the move
- Look up the registered domain in Whoray and note its nameservers. Open the active zone at the DNS provider. Export the zone or save each record’s name, type, value, priority and TTL.
- Find the records for the root domain and www. Compare them with the new web host’s instructions. List the MX destinations and priorities, the SPF TXT record, DKIM selectors and the _dmarc TXT record. Keep any address records used by a mail server.
- If you are also switching nameservers, build and verify the complete zone at the new provider before changing delegation. Coordinate DNSSEC and the parent DS record with both providers if signing is enabled.
When web and mail share an address
Suppose the MX destination is mail.example.com, and its address points to the old server. Moving the website to a new address can leave email at the old one. Keep that server available until you confirm where the mailbox service runs. If the MX points to the root domain itself, changing the root address can reroute mail too.
After the switch, open both the root domain and www. Send a message from an outside mailbox, reply to it, and check the authentication results in the received message headers. Keep the old configuration available while cached DNS answers expire.