How to set up DNS records for Namecheap email service with CloudFlare (cPanel and Private Email)

If your domain is pointed to CloudFlare nameservers, follow these steps to configure email DNS records:

for Private Email email service
for cPanel Email email service

How to set up Private Email DNS records at CloudFlare


1. Log into your CloudFlare account here.

2. Go to the DNS menu:



3. Add the following DNS records using 'Add Record' option:

Type: MX | Name: @ | Server: mx1.privateemail.com | Priority: 10 | Automatic TTL
Type: MX | Name: @ | Server: mx2.privateemail.com | Priority: 10 | Automatic TTL




Type:CNAME | Name: mail | Domain name: privateemail.com | Automatic TTL
Type: CNAME | Name: autoconfig | Domain name: privateemail.com | Automatic TTL
Type
:CNAME | Name: autodiscover | Domain name: privateemail.com | Automatic TTL


 

Type: TXT | Name: @ | Content: v=spf1 include:spf.privateemail.com ~all | Automatic TTL


 

Type: SRV | Service name: _autodiscover | Protocol: TCP | Name: yourdomain.com | Priority: 0 | Weight: 0 | Port: 443 | Target: privateemail.com | Automatic TTL



4. Check that all the records are added and wait 30-40 minutes for the records to propagate:




How to set up cPanel Email DNS records at CloudFlare

1. Log into your cPanel and CloudFlare accounts in two separate browser tabs.

2. Go to cPanel > Email section > MX Entry menu. (If you host more than one domain/subdomain, select your domain from the drop-down list). You will need to copy the MX records. You will see either default email MX record (custom MX record):



or Spam Experts MX records:



3. Go to CloudFlare > DNS:



Add the MX record(s) you copied using the 'Add record' option:

Type: MX | Name: @ | Server: the record you copied | Priority: copy the priority | Automatic TTL



4. Go back to cPanel > Advanced DNS > Copy the following DNS records to CloudFlare:

Type: A | Name: mail | IP address: cPanel IP | Automatic TTL
Type
: A | Name: webmail | IP address: cPanel IP | Automatic TTL
Type: A | Name: autodiscover | IP address: cPanel IP | Automatic TTL
Type: TXT | Name: @ | Content: v=SFP_value...| Automatic TTL



Check that all the records are added and wait 30-40 minutes for the records to propagate.



That's it!




Need any help? Contact our HelpDesk


Comments

We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close