Cloudflare sits between your visitors and your hosting server, offering CDN caching, security filtering and DNS management in one free service. Setup is simple in outline but has a few steps that, done wrong, cause confusing downtime.

Step 1: Create an Account and Add Your Domain

Sign up at Cloudflare, add your domain, and let it scan your existing DNS records automatically. Verify every record was captured correctly before proceeding โ€” missed records (particularly MX records for email) are the most common cause of post-migration problems.

Step 2: Update Your Nameservers

Cloudflare provides two nameserver addresses to set at your domain registrar, replacing your current ones. Propagation typically completes within a few hours, occasionally up to 24-48 hours globally.

Step 3: Verify Email Still Works

This is the step most often skipped, and the most damaging when missed. Confirm your MX records transferred correctly and that Cloudflare's proxy (the orange cloud icon) is disabled for mail-related records โ€” a proxied MX record will break email delivery entirely.

Step 4: Configure SSL

Set the SSL/TLS mode to "Full" or "Full (strict)" if your origin server already has a valid SSL certificate โ€” "Flexible" mode, while easier, can cause redirect loops on WordPress sites with forced HTTPS.

Step 5: Enable Caching and Performance Features

  • Turn on Auto Minify for CSS, JavaScript and HTML.
  • Enable Brotli compression if available on your plan tier.
  • Set a sensible browser cache TTL for static assets.

Step 6: Basic Security Configuration

  • Enable the Web Application Firewall (WAF) on the free tier's default rule set.
  • Set an appropriate Security Level based on how much bot traffic your site experiences.
  • Consider enabling Bot Fight Mode for basic automated-traffic mitigation.

Common Mistakes to Avoid

  • Proxying MX records (breaks email) โ€” always keep DNS-only for mail records.
  • Using "Flexible" SSL mode with a site that forces HTTPS, causing redirect loops.
  • Forgetting to whitelist your own IP if aggressive security settings start blocking legitimate admin access.

Frequently Asked Questions

Will Cloudflare break my existing email hosting?

Not if MX records are correctly imported and left unproxied โ€” always double check this specific setting during setup.

Is Cloudflare's free tier sufficient for a small business?

Yes, for the vast majority of small and mid-size Nepali business websites, the free tier covers CDN, basic security and SSL adequately.

Need help setting up Cloudflare correctly? See our hosting plans or ask our team for setup assistance.