Domain mail and MX records: common email mishaps that are easily overlooked

The website opens normally at the new address, but the company’s email inbox suddenly becomes inactive. This is the most frustrating part of the process.

The reason is simple, yet unexpected. Although a website and a domain email may appear to be part of the same entity, the paths to access them are different.

The first thing anyone searching for this information should verify is this: what needs to be changed, and in what order, to ensure that emails are not lost when migrating a website.

The email is not being received by the WordPress server; instead, it is being directed to the spam folder.

The WordPress file does not determine which server an email will be delivered to. Instead, the MX record, which is a type of DNS record that acts as an internet address guide, specifies that “emails for this domain should be sent to this mail server.”

When sending an email, the sending system first queries the MX records of the recipient’s domain. Based on the results, it locates the server responsible for delivering the email.

Websites and email have different paths.

A WordPress migration involves moving files and the database to a new server. In contrast, a DNS and email service migration involves changing the address where emails are directed.

Therefore, simply changing web hosting providers will not automatically change the mail server.

Reasons why the website opens but emails disappear.

Immediately after a DNS change, a website may appear normal, leading people to believe that the entire process is complete. However, email delivery requires separate time for various email systems across the internet to recognize the new MX records.

According to the instructions provided by Google Workspace and Microsoft 365, it may take up to 72 hours for the MX record change to be recognized across the entire internet.

Not all senders are simultaneously trying to find a new email server.

Microsoft states that in some cases, certain sending servers may hold emails for up to 24 hours before resending them to the original server. Depending on the server, a delivery failure report may appear.

Therefore, if you do not see your emails immediately after the switch, you should not immediately conclude that “the emails have been deleted.”

However, we must not simply wait.

The key to resolving the issue is to prioritize maintaining the email connection.

A safe domain transfer is not a process of simply moving the domain once. It involves first replicating the email connection information from the DNS to the new environment, verifying it, and then making the switch.

If you continue to use the existing mail service, it is essential not to change the MX records.

If you continue to use Google Workspace or Microsoft 365, you only need to change the new web server address, and keep the MX records as they are, to match your existing email service.

The entity that manages DNS can be a domain registrar, or it can be a separate DNS host. The MX record is configured at that location.

If you only copy the MX, it’s like a half-baked relocation.

Simply having the correct recipient address in an email is not enough to resolve all issues. It is also necessary to include information that verifies whether the email actually originates from the specified domain.

SPF (Sender Policy Framework) is information that lists the servers and services that are authorized to send emails using a specific domain name. If a web server, inquiry form, or external sending service is actually sending emails, it should be included in the SPF record.

DKIM is a method of adding a signature to outgoing emails. The public key is stored in a TXT record in the DNS, and the email server signs the email using the private key.

DMARC should also be checked.

If MX, SPF, DKIM, and DMARC are not treated as a single set, issues can arise such as emails being received normally, but inquiry form emails being sent to the spam folder.

Specifically, if a new mail server or external sending service is added, and the SPF record is not updated, emails from that sender may be classified as spam.

Points and limitations encountered during direct translation.

When dealing with DNS settings directly, the most common point of confusion is the DNS configuration screen. Because website-related addresses and email-related values are mixed in a single screen, it is difficult to immediately distinguish which values need to be changed and which should be left as they are.

It is also common to mistakenly leave both the existing MX records and the new MX records in place. Google Workspace states that if unnecessary or incorrect MX records are present, email may not function properly.

It is also risky to discontinue existing email services immediately after the website goes live. This is because it can take up to 72 hours for the new MX records to be fully propagated across the internet.

Do not immediately disconnect the email path.

The website being opened on a new server does not mean that the entire service, including the email archive, has been migrated. The transfer of website files and the database, the switch of the mail server, and the migration of past email data are all separate tasks.

There are limitations to the method of direct verification. Even if the DNS query results are normal, it is not possible to simultaneously verify the operation of all sending servers or the spam classification of the inquiry form.

Therefore, before the migration, it is necessary to capture the entire existing DNS configuration or save it as a list.

Without records, it is difficult to even determine what has been deleted.

LUX Content Migration and the Boundary of Email Migration.

Tasks involving mail servers and MX records, and those involving migrating WordPress content, should be prepared separately. LUX Content Migration is a plugin that exports posts, pages, comments, authors, and settings from a WordPress site as files and transfers them to another WordPress site. Therefore, it is a tool with a clear role in the stage of transferring website content and settings, rather than a tool for changing mail accounts or MX records.

If you only want to transfer a specific range of content from the existing site to the new site, you can choose between “Content only” and “Site settings only.” Before importing, you can use the “Preview” function to check the number of new posts and comments that will be created, as well as the number of required images. Posts created through the “Import to a specific category” function can be reverted to the previous state using the “Roll back” option within the completed category.

Adjust the order of steps according to the situation.

If you are using Gmail or Microsoft 365 as they are and only changing your web hosting, the safest option is to make as few changes as possible.

  • Only the DNS records related to websites such as A, AAAA, and CNAME will be changed to match the new server.
  • The existing MX, SPF, DKIM, and DMARC settings for the email service will remain unchanged.
  • Verify access to the website and receipt of emails.

When only changing web hosting, do not modify the mail DNS settings.

If you are changing the nameservers or DNS provider, you must first create a complete list of the existing DNS records. Then, register the MX, SPF, DKIM, and DMARC records in the new DNS, and transfer the web-related addresses.

Check if test emails sent from external sources are being received. Also, test whether emails are being sent correctly from the WordPress inquiry form.

The existing email service will not be shut down until both tests are completed. Even after the email tests are finished, the results from the WordPress migration must be checked separately.

LUX Content Migration allows you to differentiate between “Content only” and “Site settings only,” enabling you to specify the scope of the migration, such as whether to include content, permalinks, widgets, or menu structures. Before importing, you can use the “Preview” function, and after completion, you can use the “Roll back” function to verify the changes made before and after the import.

If you are changing the entire email service, you should first create a new account and alias, and then, taking into account the mail delivery time, change the MX record last.

Subsequently, for a minimum of 72 hours, the old and new email paths, along with the status of any returned emails, are carefully examined.

Ultimately, the options are clear. If you only move the website, you can maintain the email records. If you move the DNS as well, be sure to copy the email records first and then verify them.

Frequently Asked Questions.

Q. If I am only changing the web hosting, do I also need to change the MX records?

A. If you continue to use the existing email service, the default setting is to leave it unchanged. Only modify the DNS records related to the website to match the new server, and keep the MX, SPF, DKIM, and DMARC settings as they are.

Q. If you are changing DNS providers, what should you check first?

A. Capture or list the entire existing DNS configuration. In particular, before testing external email reception and emails sent from the inquiry form, ensure that MX, SPF, DKIM, and DMARC records are first replicated in the new DNS.

Q. Can this problem be easily solved using a tool? What kind of tool should be used?

Using a DNS record verification tool along with an external test email makes it easier to compare the settings before and after the change. However, the tool does not make judgments on its own, so it is necessary to have existing record information and actual receive/send test results.

Q. When migrating a WordPress site and transferring both emails and content, what should be checked first?

A. First, separately record the existing DNS settings for MX, SPF, DKIM, and DMARC and the email testing plan, and define the scope of the WordPress content migration.

LUX Content Migration allows you to migrate content by selecting only specific elements such as posts, pages, categories, comments, authors, custom fields, and media, or to migrate site settings, including general settings, reading settings, discussion settings, permalinks, widget placement, and menu structure. Before importing, you can preview the posts and comments that will be generated, as well as the number of required images, and then check the import results separately from the email reception and sending verification.

WordPress-related links

https://store.luxdigest.com
https://wpcm.luxdigest.com
https://sohoseo.luxdigest.com