You can add or change MX (Mail Exchanger) records for a domain within the WHM interface. This process allows you to specify the mail servers responsible for receiving email for a specific domain.
Before you begin
You will need:
Server Administrator access to WHM
The hostname or IP address of the destination mail server
The desired priority level (a lower number indicates a higher priority)
Adding or Changing an MX Record
Log in to WHM.
Navigate to DNS Functions > DNS Zone Editor.
Select the domain from the dropdown menu or search for it in the list.
Locate the specific MX record you wish to update, or click the Add Record button to create a new one.
Enter the following information:
Type: Select MX from the dropdown.
Name: Enter the domain name (e.g.,
example.com).Priority: Enter the numerical priority (e.g.,
10).Destination: Enter the mail server hostname (e.g.,
mail.example.com).
Click Save or Add Record.
Confirm the result
The updated record will appear in the list of DNS records for that zone.
You can verify the change externally using a tool like
digornslookupto ensure the record resolves to the correct mail server.
Limitations
Changes to DNS records may take time to propagate across the internet. The duration of this propagation depends on the Time to Live (TTL) value of the record and the caching policies of various DNS providers.
Ensure the destination mail server is correctly configured to accept mail for the domain before updating the MX record.
