Guide8 min read

Hostinger Cloudflare Setup Guide 2026: Connect Cloudflare in 10 Minutes

To set up Cloudflare with Hostinger, add your domain to Cloudflare, update your domain's nameservers at Hostinger to the two Cloudflare nameservers provided, then configure SSL mode to 'Full (strict)' in Cloudflare. DNS propagates in 1-24 hours and your site starts benefiting from Cloudflare's CDN and DDoS protection.

4.8(156 reviews)
|Updated 2/19/2026

Why Use Cloudflare with Hostinger Hosting?

Cloudflare's free plan adds significant capabilities on top of Hostinger's already solid hosting infrastructure: a globally distributed CDN with 300+ PoPs, DDoS protection that absorbs even large-scale attacks, automatic HTTPS with flexible SSL options, and performance analytics.

Cloudflare acts as a reverse proxy — traffic hits Cloudflare's servers first, which serve cached content and filter malicious requests before forwarding legitimate traffic to your Hostinger server. Your server stays protected and less stressed, even under traffic spikes.

Step-by-Step Cloudflare Setup for Hostinger

Step 1: Create a free Cloudflare account at cloudflare.com and click 'Add a Site'. Enter your domain name and select the Free plan.

Step 2: Cloudflare scans your existing DNS records. Review the imported records — ensure your A record pointing to your Hostinger server IP is present and enabled (orange cloud icon for proxied).

Step 3: Cloudflare provides two nameserver addresses (e.g., aria.ns.cloudflare.com and bob.ns.cloudflare.com). Note these down.

Step 4: In Hostinger hPanel → Domains → your domain → Nameservers → change to Custom and enter Cloudflare's two nameservers.

Step 5: Return to Cloudflare and click 'Done, check nameservers'. Propagation takes 1-24 hours. You'll receive an email when Cloudflare activates.

SSL Mode Configuration in Cloudflare

After Cloudflare activates, configure SSL mode in Cloudflare Dashboard → SSL/TLS → Overview:

  • Flexible: Cloudflare uses HTTPS to visitors but HTTP to your Hostinger server. NOT recommended — causes security issues.
  • Full: HTTPS both ways but doesn't verify Hostinger's SSL certificate. Acceptable but not ideal.
  • Full (strict): HTTPS both ways AND verifies Hostinger's SSL certificate is valid. Recommended — requires that Hostinger SSL is properly installed first.

Use Full (strict) for maximum security. Ensure your Hostinger SSL is active before switching to this mode.

Recommended Cloudflare Performance Settings for Hostinger

After setup, optimize these Cloudflare settings:

  • Speed → Auto Minify: Enable for JavaScript, CSS, HTML to reduce file sizes
  • Speed → Rocket Loader: Enable to defer JavaScript loading (test this — some plugins conflict)
  • Caching → Browser Cache TTL: Set to 4 hours for most assets
  • Rules → Page Rules: Add a rule to bypass cache for /wp-admin/* if using WordPress

Test your site after each change using WebPageTest or GTmetrix to measure the actual performance impact.

Frequently Asked Questions

Will Cloudflare work with Hostinger's free SSL?

Yes, but configure Cloudflare SSL mode to 'Full (strict)' rather than 'Flexible'. Flexible mode can cause redirect loops when your Hostinger server already redirects to HTTPS. Ensure Hostinger's SSL is installed before connecting Cloudflare.

Do I need to update DNS records after adding Cloudflare?

Cloudflare imports your existing DNS records automatically. After switching nameservers, manage all DNS from the Cloudflare dashboard — not from Hostinger hPanel. Changes made in hPanel after the switch won't take effect.

Will adding Cloudflare slow down my Hostinger site?

No — the opposite. Cloudflare caches content closer to visitors, reducing load time. The only exception is very dynamic sites where caching is disabled on most pages. In those cases, performance impact is neutral.

Can I still use Hostinger's email with Cloudflare?

Yes. When Cloudflare imports your DNS, it keeps MX records in 'DNS only' mode (grey cloud), meaning email traffic doesn't go through Cloudflare's proxy. Email continues working normally through Hostinger's mail servers.

How do I disable Cloudflare and go back to Hostinger-only DNS?

Return your domain's nameservers to Hostinger's default nameservers (ns1.dns-parking.com and ns2.dns-parking.com) in your domain settings. DNS propagates back in 1-24 hours. Then manage DNS from Hostinger hPanel again.

Set Up Cloudflare on Your Hostinger Site

Free CDN and DDoS protection with Cloudflare. Add to any Hostinger plan in minutes.

Register Your Domain
HF

Henry Fontaine

Chief of Staff & COO, RocketLabs

AI-native operator building the future of search visibility. Part of the team behind 3 tech exits and 400+ programmatic SEO deployments.

SEOAI OptimizationProgrammatic SEOGEOAEO
Follow on X →Published: 2/19/2026Updated: 2/19/2026