How to Add a New Domain on Server5.click Hosting and Configure DNS with Cloudflare (Including MX Records for Email)

How to Add a New Domain on Server5.click and Configure DNS with Cloudflare

Setting up a domain with Server5.click and managing its DNS through Cloudflare is a smart move for better performance, security, and email deliverability. This guide will show you step-by-step how to add your domain, configure A, CNAME, and now also MX records on Cloudflare to point to your Server5.click IP (e.g. 51.15.15.240).

Whether you’re launching a new site or migrating from another host, this tutorial ensures your website and email are correctly routed.


🧰 What You Need

  • A domain name (e.g. example.com)
  • Active Cloudflare account
  • Server5.click hosting credentials
  • The IP address of your Server5.click server (example: 51.15.15.240)
  • Email configuration info from Server5.click (usually mail.yourdomain.com or server5.click)

🌐 Step 1: Add Your Domain to Server5.click Hosting

  1. Log in to your Server5.click cPanel or DirectAdmin control panel:
    • Typically at https://server5.click:2083 (or a custom URL)
  2. Go to Domains > Add Domain
  3. Enter your domain name (e.g. example.com)
  4. Choose the document root (e.g. /public_html/example.com)
  5. Click β€œCreate” or β€œAdd Domain”

Now your domain is active on the server, and ready for DNS setup.


☁️ Step 2: Add Your Domain to Cloudflare and Set Nameservers

  1. Log in to Cloudflare Dashboard
  2. Click Add Site
  3. Enter your domain (e.g. example.com) and click Continue
  4. Select a Free plan (or paid, if needed)
  5. Cloudflare will scan existing DNS records (you’ll replace them next)
  6. Click Continue to get your Cloudflare nameservers, for example: dina.ns.cloudflare.com jake.ns.cloudflare.com
  7. Go to your domain registrar (e.g. Namecheap, GoDaddy) and update nameservers to the ones provided by Cloudflare
  8. Save and wait for propagation (usually <1 hour)

πŸ” Step 3: Configure Cloudflare DNS Records for Server5.click

Once your domain is active in Cloudflare, you need to point it to your server.

Important Note: Typically Cloudflare scans your DNS settings and imports it from your Server5 Control Panel if you already added your domain there, so you do not need to change anything.

βž• A Record (Root Domain)

TypeNameIPv4 addressProxy Status
A@51.15.15.240DNS Only or Proxied

βž• CNAME Record (WWW)

TypeNameTargetProxy Status
CNAMEwwwexample.comDNS Only or Proxied

This ensures both example.com and www.example.com resolve to your website.


πŸ“§ Step 4: Configure MX Records for Email Delivery via Server5.click

Important Note: Typically Cloudflare scans your DNS settings and imports it from your Server5 Control Panel if you already added your domain there, so you do not need to change anything.

To send and receive email using your domain, you’ll need to add MX records and supporting DNS entries.

βž• MX Record

TypeNameMail ServerPriority
MX@mail.example.com, or yourdomain.com10

➑️ Replace mail.example.com with the actual mail server you use (typically you can set this to yourdomain.com.

βž• A Record for Mail Subdomain

TypeNameIPv4 AddressProxy
Amail51.15.15.240DNS Only

⚠️ Important: Do NOT proxy your mail server (set to β€œDNS Only”). Cloudflare does not proxy mail traffic (SMTP, IMAP, POP).

*No need for this entry if you use yourdomain.com as MX record.

Important Note: Typically Cloudflare scans your DNS settings and imports it from your Server5 Control Panel if you already added your domain there, so you do not need to change anything.


πŸ“€ Optional: Add SPF, DKIM, and DMARC Records for Better Email Deliverability

To avoid email being marked as spam, add these records as needed.

βœ” SPF Record

TypeNameContentTTL
TXT@v=spf1 a mx ip4:51.15.15.240 ~allAuto

βœ” DKIM Record

This depends on your email server. If Server5.click provides DKIM keys, it will look like:

TypeNameContent
TXTdefault._domainkeyv=DKIM1; k=rsa; p=MIGfMA0G...

βœ” DMARC Record (Basic)

TypeNameContent
TXT_dmarcv=DMARC1; p=none; rua=mailto:admin@example.com

These records help email authentication and improve trust in your domain.

Important Note: Typically Cloudflare scans your DNS settings and imports it from your Server5 Control Panel if you already added your domain there, so you do not need to change anything.


βœ… Step 5: Test Your Setup

Once DNS is configured:

  • Visit your site in a browser (https://example.com) β€” it should load.
  • Use tools like https://dnschecker.org to verify A, MX, and TXT records.
  • Send a test email (if webmail or email client is set up via Server5.click).
  • Use https://mxtoolbox.com/ to test your MX, SPF, and DKIM records.

πŸ’¬ Common Email Ports (If Needed for Mail Clients)

ProtocolPortEncryption
SMTP465 / 587SSL / STARTTLS
IMAP993SSL
POP3995SSL

🧠 Summary

TaskStatus
Domain added to Server5.clickβœ…
Cloudflare nameservers setβœ…
A and CNAME records configuredβœ…
MX and mail A records addedβœ…
SPF/DKIM/DMARC addedβœ… (optional)

πŸš€ Final Thoughts

Combining Cloudflare DNS with the power of Server5.click hosting ensures a reliable, secure, and high-performance web presence β€” and now, fully functional email support using your domain.

Make sure your mail-related DNS entries are NOT proxied, and keep your DNS records organized to avoid conflicts or delivery issues. For professional or business email, consider using custom SMTP settings, backups, and monitoring tools.

Author :

0 thoughts on “How to Add a New Domain on Server5.click Hosting and Configure DNS with Cloudflare (Including MX Records for Email)

Leave a Reply