Skip to content

Tutorials DNS Intermediate1 min read

How to Connect Your Domain to Cloudflare

Put your domain behind Cloudflare: add the site, review imported DNS records, switch nameservers at your registrar, and choose the right SSL mode.

By ZSOLNET Editorial Team Updated

Key takeaways

  • Cloudflare becomes your DNS provider when you switch to its nameservers.
  • Check every imported record — especially MX and mail-related records — before switching.
  • Use SSL mode Full (strict) with a valid certificate on your server.

1. Add your site to Cloudflare

Create a Cloudflare account, choose Add a domain, enter your domain and pick a plan. Cloudflare scans your current DNS records.

2. Review the imported records

Compare them with your current zone (use the DNS lookup tool). Make sure these exist:

  • A/CNAME for the root and www (orange cloud = proxied through Cloudflare).
  • MX records and the A record of your mail server — set to DNS only.
  • TXT records for SPF, DKIM, DMARC and any verifications.
dash.cloudflare.com › DNS

DNS records for example.com

+ Add Record
TypeNameRecordTTL
Aexample.com203.0.113.103600
CNAMEwwwexample.com3600
MXexample.com0 mail.example.com3600 2
TXTexample.comv=spf1 +a +mx ~all3600
2 Check mail records carefully before switching nameservers.

3. Switch nameservers

Cloudflare shows two nameservers. In your ZSOLNET client area, open the domain → Nameservers → use custom nameservers, paste them and save.

4. Set SSL/TLS

In Cloudflare SSL/TLS, choose Full (strict) and keep a valid certificate on your hosting (AutoSSL works). Turn on Always Use HTTPS.

Frequently asked questions

Will my email keep working?

Yes, if the MX, SPF, DKIM and DMARC records are copied correctly. Mail records should be 'DNS only' (grey cloud), not proxied.

Can I keep my domain registered at ZSOLNET?

Yes. You only change the nameservers; the registration stays in your ZSOLNET account.

Share X LinkedIn Facebook

Log in to your account

Manage your domains, hosting and invoices in one place.

Secure connection straight to the ZSOLNET client area.

No account yet?