Changing or removing MX records during an email migration

Editing the MX set changes where new incoming mail is routed. A reliable migration coordinates mailbox readiness, DNS, local routing and historical message transfer rather than treating the MX edit as the entire move.

Prepare for the change

Create destination mailboxes and preserve access to the old provider. Record every existing MX destination and priority, and prepare the new provider’s exact instructions. Lower TTL in advance when you control the zone and the migration schedule permits it.

01 Change or remove MX records during an email migration

  1. Open Zone Editor > Manage for the authoritative domain and filter by MX.
  2. Edit or add the complete destination MX set supplied by the new provider. Check both hostnames and priorities.
  3. Remove obsolete entries when the cutover plan calls for it. An old MX with a higher numeric priority can still receive mail if preferred servers fail, so do not retain it casually.
  4. Update cPanel Email Routing and outgoing authentication records as required by the new mail design.
  5. Query public MX answers and send tests from independent external senders. Continue checking the old provider during the cache-transition period and complete any final message synchronisation.

Confirm the expected result

New mail should arrive at the new service, and website-generated messages should use the intended route. Verify both sending and receiving with real mailbox tests.

What should I check when mail delivery fails after changing MX records?

If delivery fails, read the bounce details and compare the published set with the provider’s exact requirements. Restore the recorded old MX set only if the old service remains ready to receive mail. Deleting every MX record is not a safe way to disable email because fallback behaviour can still occur.

Sources and further reading

  • 0 Users Found This Useful
  • cpanel-whm, domains-dns
Was this answer helpful?

Related Articles

Adding an IPv4 A record in cPanel Zone Editor

An A record maps a hostname to an IPv4 address. Edit it in cPanel only when the domain’s...

Adding a CNAME record in cPanel

A CNAME makes one hostname an alias of another hostname. It is useful for services that supply...

Adding MX records for an email provider in cPanel

MX records tell other mail systems where to deliver messages for a domain. Use the exact...

Editing or deleting a DNS record in cPanel Zone Editor

Use Zone Editor to change a specific DNS record or remove one that is no longer needed. Work on...

Changing or removing a cPanel CNAME alias

Update a CNAME when a custom-domain integration moves to a new canonical hostname, or remove it...