← Back to Domains & DNS

Configuring MX Records for Email

MX (Mail Exchange) records tell the internet which mail servers receive email for your domain. Incorrect MX records result in undelivered email.

Default MX Records

When your domain uses Double Hosting nameservers, cPanel automatically creates MX records pointing to your hosting server. Email to you@yourdomain.com is delivered to your cPanel email account by default.

Changing MX Records (e.g., for Google Workspace)

If you use an external email provider (Google Workspace, Titan Email, Microsoft 365), you'll need to update your MX records. Go to Domains > Zone Editor > Manage, delete existing MX records, and add the ones provided by your email provider.

Example: Google Workspace MX Records

Priority  Record\n1         ASPMX.L.GOOGLE.COM\n5         ALT1.ASPMX.L.GOOGLE.COM\n5         ALT2.ASPMX.L.GOOGLE.COM\n10        ALT3.ASPMX.L.GOOGLE.COM\n10        ALT4.ASPMX.L.GOOGLE.COM

Understanding MX Priority

The priority number tells receiving servers which mail server to try first. Lower numbers = higher priority. If the primary mail server is unreachable, the next lowest priority is tried automatically.

Was this article helpful?

On This Page