How to Add MX Records (GoDaddy, Namecheap & Cloudflare)

MX (Mail Exchange) records tell the internet which servers handle email for your domain. Without them, incoming mail has nowhere to go. Here is how to add them at the three most common registrars.

6 min read · Updated June 2026

What an MX record contains

Each MX record has a host (usually @ or your domain), a priority number (lower = tried first), and a value (your mail server, e.g. mail.havitomail.com). Your provider tells you the exact values; you just enter them at your registrar.

GoDaddy

  • Sign in and open My Products → DNS for your domain.
  • Under Records, delete any existing MX records you no longer use.
  • Click Add → choose MX, set Host to @, enter the Points to value, and set Priority.
  • Save. Changes typically apply within a few minutes to an hour.

Namecheap

  • Go to Domain List → Manage → Advanced DNS.
  • Under Mail Settings, choose Custom MX.
  • Add a record with Host @, the mail server value, and the priority.
  • Save all changes and allow time to propagate.

Cloudflare

  • Open your domain → DNS → Records.
  • Click Add record → Type MX, Name @, Mail server value, and Priority.
  • Keep MX records DNS-only (not proxied — the orange cloud does not apply to mail).
  • Save; Cloudflare usually updates within seconds.

Common mistakes to avoid

  • Leaving old MX records in place — remove conflicting ones from a previous provider.
  • Adding a trailing dot or extra spaces to the server value.
  • Proxying mail records on Cloudflare (must be DNS-only).
  • Forgetting SPF, DKIM, and DMARC — MX handles receiving; those handle sending and trust.

Frequently asked questions

How long do MX record changes take?

Usually a few minutes to an hour, though DNS can take up to 24–48 hours in rare cases. Cloudflare is typically the fastest.

Can I have more than one MX record?

Yes. Multiple MX records with different priorities provide redundancy — lower priority numbers are tried first.

Do MX records affect my website?

No. MX records only affect email routing. Your website is controlled by A/AAAA and CNAME records.

Ready to set up professional email?

Get @yourcompany.com email with a guided DNS wizard. Free to start.

Start Free