cPanel account normally comes packaged with mail server and the Mail Exchanger or MX record for the account's domain is set to the cPanel's host. You need to change the MX record for your domain if you want to use third-party email provider such as Gmail or your own self-hosted solution for your configured domain.
You can configure MX records for your third-party mail server in cPanel by deleting existing records and adding new ones.
Make sure nameserver option for your domain is already set to your cPanel's host
Steps to delete and add MX record entries in cPanel:
Log in to your cPanel account.
Scroll down to the Domains
section and click on Zone Editor
Click on Manage
to view and edit DNS
Click on MX
to only display Mail Exchanger
to remove existing MX
to confirm deletion of MX
Continue deleting other MX
records if you have multiple MX
Click down arrow on the Add Record
select list and click on Add ''MX'' Record
Enter the priority and domain name of your mail server and click on the Add Record
Priority is an integer value where mail server with lower priority value will be preferred over the one with higher priority value if you have multiple MX records.
Continue adding the other MX
records if you have multiple mail server.
Author: Mohd Shakir Zakaria
Cloud architect by profession but always consider himself as a developer, entrepreneur and an opensource enthusiast.
Discuss the article:
Comment anonymously. Login not required.