Cloudflare's free plan adds a CDN, basic DDoS protection and some useful security tools in front of your site. It's worth it if you have visitors outside India or get occasional traffic spikes. It's not required: many sites run perfectly well without it.
Done carelessly, though, it's also the most common way people break their own site. Here's how to set it up without the usual problems.
Before you start
- Your site should already work on our server with a valid SSL certificate. Check the padlock first.
- Note down your current DNS records. In cPanel, open Domains → Zone Editor → Manage and take a screenshot.
- You'll need access to wherever your domain is registered, to change nameservers.
1. Add your site to Cloudflare
- Create a free account at cloudflare.com and choose Add a site.
- Enter your domain and pick the Free plan.
- Cloudflare scans your existing DNS records. Compare them with your screenshot. Make sure these are all there:
Arecord foryourdomain.inpointing to your server IPCNAMEorAforwwwMXrecord(s) for emailTXTrecords for SPF and DKIM (the long ones starting withv=spf1andv=DKIM1)Arecord formailif you use our email
2. Set the orange cloud only where it belongs
Each record has a cloud icon. Orange means traffic goes through Cloudflare, grey means DNS only.
- Orange:
yourdomain.inandwww. - Grey:
mail,webmail,cpanel,ftp, and anything used for email or file transfer. Cloudflare's free plan only proxies web traffic, so these must go direct to the server.
Getting this wrong is why email stops working after a Cloudflare setup.
3. Change your nameservers
Cloudflare gives you two nameservers like ada.ns.cloudflare.com. Go to your domain registrar (or the Domains page in our client area if you registered it with us), and replace the current nameservers with these two. It takes from a few minutes to a few hours to take effect.
Once Cloudflare activates the site, DNS changes are made in Cloudflare, not in cPanel's Zone Editor.
4. Choose the right SSL mode
In Cloudflare, go to SSL/TLS → Overview and choose Full (strict).
- Flexible looks like it works, but the connection between Cloudflare and our server is unencrypted, and WordPress sites often get stuck in a redirect loop ("too many redirects"). Don't use it.
- Full (strict) encrypts both legs and checks that our server's certificate is valid. Since your hosting already has a free certificate, this just works.
Then, under SSL/TLS → Edge Certificates, turn on Always Use HTTPS.
5. Caching settings that are safe
The default settings cache images, CSS and JavaScript, not HTML pages. That's safe for every site, including shops and membership sites. Leave it like that unless you know what you're doing.
Useful extras on the free plan:
- Speed → Optimization → Brotli: on.
- Caching → Configuration → Browser Cache TTL: "Respect existing headers".
- Avoid Rocket Loader on WordPress; it often breaks page builders and forms.
6. Check everything
- Open the site in a private window: padlock, no redirect loops.
- Log in to WordPress and save a post.
- Send an email to and from your domain address.
- Submit your contact form.
Undoing it
If something goes badly wrong, the quickest fix is switching the nameservers back to the ones in your welcome email. Everything returns to how it was once the change spreads.
Stuck on a step?
Customers can open a ticket from the client area and an engineer will do it with you. Not a customer yet? Write to help@hostingdon.com or call +91 98002 55199.