Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Add an MX Record in cPanel Zone Editor

This guide shows how to add an MX record, so your email goes to the right mail server.

Domains and DNS2 min read9 steps3 screenshots

What is an MX record?

DNS is like a phone book for the internet. An MX record (mail exchanger) is a line in that book. It tells the world which server receives email for your domain. It works like the address of your post office.

Each MX record has two parts:

  • Destination: the name of the mail server, like mail.example.com.
  • Priority: a number. The lowest number is tried first. The others are backups.

Your email provider will tell you the exact names and numbers to use. Copy them exactly.

Before you start

If you change MX records, email can stop arriving. Write down the old records first, or take a screenshot. You can then put them back if needed.

Steps

  1. Log in to cPanel.
  2. In the Domains section, click Zone Editor.
    Screenshot: In the Domains section, click Zone Editor .
  3. Find your domain and click Manage.
  4. Click Add Record. If you see a dropdown, choose Add MX Record.
    Screenshot: Click Add Record . If you see a dropdown, choose Add MX Record .
  5. In Name, type your domain, like example.com.
  6. Set Type to MX.
  7. In Priority, type the number, such as 10.
  8. In Destination, type the mail server name given by your provider.
  9. Click Add Record.

Repeat for each MX record your provider gives you.

Remove old records

If you move to a new email provider, delete the old MX records. Next to each one, click Delete. Mixed records can send mail to two places.

Another important setting

Go to cPanel Email Routing. Set it to Remote Mail Exchanger if your mail is handled outside this server. Choose Local Mail Exchanger if it is handled on this server. A wrong choice can make email bounce.

Check and wait

DNS changes can take a few hours to spread. After that, send a test email to your address from another account.

Tip: The destination should be a name, not an IP address. That name needs its own A record.

If your DNS is not in cPanel, add the record where your name servers are managed. Need help? Open a ticket at https://secure.hostvento.com/submitticket.php.

Quick recap

  • An MX record sends your email to the right server.
    Screenshot: An MX record sends your email to the right server.
  • Use Zone Editor, then Manage and Add Record.
  • Lower priority numbers are tried first.
  • Note the old records first and remove old ones after a move.