Skip to main content

How do I point DNS records from Cloudflare to my site?

What is a DNS MXconfiguration record?
issue.

A DNS 'mail exchange' (MX) record directs email to a mail server. The MX record indicates how email messages should be routed in accordance with the Simple Mail Transfer Protocol (SMTP, the standard protocol for all emails). Like CNAME records, an MX record must always point to another domain.

What do I need to do?

In this guide,guide we are going towill show you how to add ana MXDNS record to your DNSwebsite viato Cloudflare.accept traffic.

Your domain must be linked to Cloudflare and pointing to us via DNS records. If your website is not linked with Cloudflare, you can follow our guide here.

Step 1

Sign in to Cloudflare with your personal details.

image.png

Step 2

Select the Domain you wish to modify.

image.png

Step 3

On the left navigation bar, select DNS.

image.png

Step 4

Select Add record to create a DNS record.

image.png

Step 5

On the "Type" drop-down, select MXA.

image.png

Step 6

In the "Name (required)" text box, type @ so the mail goes to the main domain name.

image.pngimage.png

Step 7

In the "MailIPv4 serveraddress (required)" text box, navigate to cPanel and copy the Shared IP Address value into the mailIpv4 serveraddress box.

image.png

image.pngimage.png

Step 8

InEnsure the "PriorityProxied (required)"status text box,is set the value to 0on.

Each MX record has a priority, or a number to designate the order in which your domain name's incoming mail servers receive your email messages. The MX record with the lowest number is the first, or primary, mail server to which outgoing mail servers attempt to deliver your email messages.

image.pngimage.png

Step 9

Select Save to add the record to your DNS. Wait 5-15 minutes before sending another email toaccessing your website.main website URL.