Skip to main content

How to Add or Change an MX Record in cPanel Zone Editor

You can add or change Mail Exchanger (MX) records to define the mail servers responsible for receiving email for your domain. This task is performed within the cPanel account interface and is essential for ensuring your email is routed correctly.

Before you begin

You will need:

  • A cPanel account with permissions to manage DNS records.

  • The hostname of the mail server (e.g., mail.example.com).

  • The desired priority level (a number, typically between 0 and 100).

Adding or Changing an MX Record

  1. Log in to your cPanel account.

  2. Under the Domains section, select Zone Editor.

  3. Locate the domain you wish to update and click the Manage button next to it.

  4. To add a new record, click the Add Record button.

  5. Select MX from the Type dropdown menu.

  6. Enter the following information:

    • Name: Enter your domain name (e.g., example.com).

    • Priority: Enter the priority number (e.g., 10).

    • TTL: Leave as the default value unless you have a specific requirement.

    • MX Record: Enter the mail server hostname (e.g., mail.example.com).

  7. Click Save Record.

To edit an existing record, find the record in the list and click Edit next to it. Update the required fields and click Save.

Confirm the result

  • The record will appear in the Zone Editor list with the updated values.

  • You can verify the change externally using a tool like dig or nslookup to confirm the record is being broadcast.

Limitations

  • Changes to DNS records may take time to propagate across the internet. The duration depends on the Time to Live (TTL) value of the record.

  • Ensure the mail server hostname provided is a Fully Qualified Domain Name (FQDN).

  • If you are using a third-party DNS provider, these changes must be made in their specific management console rather than cPanel.

Did this answer your question?