A mail exchanger record (MX record) is a type of resource record in the Domain Name System (DNS) that specifies a mail server responsible for accepting email messages for your domain. You can add an MX Record using cPanel’s Zone Editor option.
- Log into your cPanel account (e.g.,
www.example.com/cpanel). - In the Domains section, click on the Zone Editor icon.

- Under Domains, you will see several options below the Actions heading.

- Click on MX Record. A small window will open—enter the required details:
- Priority: The MX record used for mail routing should have the lowest preference number, typically 0. For mail routing, use 0; for domain validation, use 10.
- Destination: Enter the domain name of your mail exchange server. If you use an external mail server, enter its domain name. If you use a local mail server, enter your local domain.
Click the Add a MX Record button. - If the record is added successfully, you will see a confirmation message. Please note that DNS propagation can take up to 24 hours.
Note: It may take anywhere from 12 to 24 hours for DNS changes to take effect worldwide.