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
Log in to your cPanel account.
Under the Domains section, select Zone Editor.
Locate the domain you wish to update and click the Manage button next to it.
To add a new record, click the Add Record button.
Select MX from the Type dropdown menu.
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).
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
digornslookupto 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.
