MX (Mail Exchange) records determine which mail servers handle email for your domain. Updating these records is essential when configuring custom email services such as Google Workspace (formerly G Suite), Microsoft 365, or other third-party providers. This guide explains how to modify MX records in cPanel.
What Are MX Records?
MX records (Mail Exchange records) control how email is routed for a domain. Each record includes:
-
Priority – A number that indicates delivery preference. Lower values have higher priority.
-
Destination – The hostname of the mail server that should receive the email.
How to Modify MX Records in cPanel
1. Log in to cPanel
-
Open your browser and go to your cPanel login page (e.g. https://yourdomain.com/cpanel).
-
Enter your username and password, then click Log in.
2. Open the Zone Editor
-
In the cPanel dashboard, scroll to the Domains section.
-
Click Zone Editor.
3. Locate the Domain
-
In the Zone Editor, find the domain you want to modify.
-
Click Manage next to the domain name.
4. Edit an Existing MX Record
-
Scroll through the DNS records to find the MX entries.
-
To edit a record:
-
Click Edit.
-
Update the Priority and Destination fields as needed.
-
Click Save Record.
-
5. Add a New MX Record (if needed)
-
If the required MX record is not listed:
-
Click Add Record.
-
Choose MX Record as the type.
-
Enter the Priority and Destination (e.g. mail.provider.com).
-
Click Save Record.
-
6. Remove Unused MX Records
-
To prevent conflicts, delete old or unnecessary records by clicking Delete next to the corresponding entry.
Verify Your Changes
Changes to MX records may take a few minutes to 24 hours to propagate, depending on DNS caching.
You can use tools like MXToolbox to check if your updated MX records are active and configured correctly.