Skip to content

Domain Email No Longer Working

If you switch to DNS and find that your domain is no longer receiving email, the problem is most likely with your MX records.

MX records control where email to your domain is sent, so if the MX records are not pointing to the correct location, then delivery of email to your domain will fail.

How to Fix Your MX Records

If you are able, log into the DNS Zone from your previous DNS provider, and make note of the MX records you find there.

Head back to your DNS Zone and compare. Delete any MX records that don't match the ones from your old provider. Add any MX records that are missing.

Wait a few hours for the changes to propagate and for your lost email messages to start arriving at your domain.

Other Options

If you are unable to log into your old DNS provider, or the original records don't work for whatever reason, there are a few things you can try.

Use a Subdomain

When you enabled CDN, you pointed your root domain (as in to's servers. If the original MX record names your root domain as the Mail Server, this will be problematic. You don't want your Mail Server to point to You want your Mail Server to point to your own server IP. Luckily, you can work around this. Ccreate a subdomain, point it to your original server IP, and use that for your domain's Mail Server.

To use for your domain's mail, do the following:

  1. Add a new record in the DNS Zone, like so:
    • Type: A
    • Host: mail
    • IPv4: copy the IP address from one of the other A records below
    • TTL: Auto (this is not critical, if you wish to use another value)
  2. Get rid of any existing MX records
  3. Add a new record, like so:
    • Type: MX
    • Host: @
    • Mail Server:
    • Priority: 1 ¬†

Wait for the DNS changes to propagate, and mail should start arriving at your domain

Use a cPanel URL

In some cases, using a subdomain, as described above, may not work due to SSL issues. If you are on a cPanel server, you can try setting your MX record Mail Server value to your cPanel URL.

In other words, find the URL you visit to access cPanel, strip off the https:// section and any port number that might be there, and use that.

For example, if you access cPanel at, set your Mail Server to

If all else fails, talk to your hosting provider. They should be able to tell you what your Mail Server is for your account.

Third Party Providers

If you use a third party like Gmail to host your domain's mail, they should provide instructions for setting up MX records. Here's a link to the Gmail instructions.

Last update: January 30, 2024