How to Set Up Cloudflare CDN with Your Hosting
Cloudflare's free CDN caches your site across a global network, speeding it up worldwide and absorbing some attack traffic. Setup is via your domain's nameservers.
Step-by-step
- Create a free Cloudflare account and add your domain; Cloudflare scans your existing DNS records.
- Review the imported DNS records and confirm your main A record (pointing at your EconomicalHost server IP) and MX records are present — see MX records.
- Copy the two Cloudflare nameservers it provides.
- Change your domain's nameservers to Cloudflare's at your registrar — see changing nameservers.
- Wait for activation (DNS propagation, usually a few hours — see propagation).
- Set SSL mode to Full in Cloudflare so it works with your server's AutoSSL certificate, and enable Auto Minify and Brotli for extra speed.
💡 Good to know
- Keep your mail records on Cloudflare set to "DNS only" (grey cloud) so email keeps flowing.
- Cloudflare "Full" SSL mode pairs correctly with your AutoSSL certificate.
- Purge the Cloudflare cache after you make site changes, or they may appear delayed.