How to Configure Cloudflare DNS for UXNitro Hosting
Setting up your domain and email correctly in Cloudflare ensures your website works smoothly and your emails land in inboxes instead of spam. This guide walks you through the full process for a new domain using UXNitro hosting.
1. Add Your Domain to Cloudflare
- Log in to your Cloudflare account.
- Click “Add a Site” and enter your domain (e.g.,
mudbuddyspa.com). - Choose the Free, Pro, or Business plan depending on your needs.
- Cloudflare will scan your existing DNS records. Confirm they match your UXNitro DNS requirements.
Image opportunity: Screenshot of Cloudflare “Add a Site” page.
2. Update Nameservers
- Cloudflare provides two nameservers (e.g.,
ns1.cloudflare.comandns2.cloudflare.com). - Go to your domain registrar and replace your current nameservers with the Cloudflare ones.
- Wait for DNS propagation (can take up to 24 hours, but usually faster).
Image opportunity: Screenshot of the domain registrar’s nameserver settings.
3. Configure DNS Records for UXNitro Hosting
Use the following table to configure your DNS records in Cloudflare DNS tab:
| Type | Name | Content | Proxy Status | TTL |
|---|---|---|---|---|
| A | cpanel | 51.79.83.36 | Proxied | Auto |
| A | ftp | 51.79.83.36 | DNS only | 1 min |
| A | imap | 51.79.83.36 | DNS only | Auto |
| A | localhost | 127.0.0.1 | DNS only – local IP | 1 min |
| A | 51.79.83.36 | DNS only | 1 min | |
| A | @ | 51.79.83.36 | Proxied | Auto |
| A | pop | 51.79.83.36 | DNS only | Auto |
| A | smtp | 51.79.83.36 | Proxied | Auto |
| A | webmail | 51.79.83.36 | DNS only | 1 min |
| A | www | 51.79.83.36 | Proxied | Auto |
| MX | mudbuddyspa.com | DNS only | 10 | |
| TXT | _dmarc | "v=DMARC1; p=quarantine; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1; pct=100" | DNS only | Auto |
| TXT | mail._domainkey | "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEav/FzoklbLyMonZqP6lGA7ibP/41QjB1BuSQeAikHYTD8IisDoJj9ju2w0IRdjTi18DDQXwCPbC/JvYbXXwiDir7EOkIiQ+q5JwT+SWmYMaZPx/Uq4p/Uzvg0KoJoaILkbbWFd7kLP3qmTimIw1TbY8hnmD57Oo/Nmb5O3BHkQIDAQAB" | DNS only | 5 min |
| TXT | @ | "v=spf1 a mx ip4:51.79.83.36 -all" | DNS only | Auto |
Tip: Use DNS only for mail-related records to avoid Cloudflare proxy issues with email. All website traffic (www, cpanel) can be proxied for performance and security.
Image opportunity: Screenshot of Cloudflare DNS page with the table of records.
4. Enable Email Authentication
To improve email deliverability, configure these authentication standards:
SPF Record
- Already included in the table above as:
"v=spf1 a mx ip4:51.79.83.36 -all" - Ensures emails from your server are authorized and reduces spam marking.
DKIM Record
- Included as
mail._domainkeyin TXT. - Sign emails cryptographically to prove they come from your domain.
DMARC Record
- Included as
_dmarcTXT. - Helps monitor and enforce your SPF/DKIM policies.
- Policy
p=quarantinewill place unauthenticated emails in recipients’ spam folder. You can later setp=rejectfor stricter enforcement.
5. Test Your DNS and Email
After configuring Cloudflare:
- DNS Propagation: Use WhatsMyDNS to verify your A, MX, and TXT records globally.
- Email Deliverability: Use MXToolbox SuperTool to check:
- SPF
- DKIM
- DMARC
- MX records
- Send Test Emails: Use Gmail, Outlook, or Yahoo to verify your emails land in the inbox, not spam.