How to create an MX record in cPanel.
Prior to configuring the MX records, you will want to create a domain name or subdomain name that points to the server you wish to handle your mail as IP addresses cannot be used as MX records. For more information, please read the following articles:
For the case of this article, I have created a subdomain name (mx.cptechs.com) that resolves to the server's IP address that handles my mail.
Once you have a valid domain or subdomain name that resolves to the IP address, you can proceed with the following steps:
- Log in to cPanel.
- Access the Zone Editor that is located within the Domains section:
- Press the MX record button to add your MX records:
The MX Record dialog box will appear. In the Priority field, type a priority. A lower value represents higher priorities. Zero (0) being the highest priority.
In the Destination field, enter the domain or subdomain name that you created prior, which in this case is mx.cptechs.com:
- Click .
If your MX record points to an external server, you will want to configure your Mail routing to a remote mail exchanger: What is The Difference Between Remote Vs. Local Mail Exchange Within "Email Routing"?