Hosting & VPS ·

Cloudflare for Beginners: Free CDN, Fast DNS & Attack Protection

Cloudflare for Beginners: Free CDN, Fast DNS & Attack Protection

Transparency note: Links marked with an asterisk (*) are affiliate links. If you buy a product or book a service through such a link, we receive a small commission at no extra cost to you. Our comparisons and assessments are not influenced by this. This article currently contains no affiliate links. See our affiliate disclosure.

Cloudflare sits in front of a large share of the world's websites, and getting started costs nothing. But what does the free plan really deliver, what is marketing, and which settings should you change on day one so nothing breaks? This guide explains DNS, CDN, SSL and protection features in plain language, shows the limits of the free tier and lists the classic pitfalls. Plan details are from Cloudflare's official pricing page and documentation as of November 2026.

Free vs. Pro at a glance

FreePro
Price (Nov 2026)$0$20/month billed annually, $25 billed monthly
DNS & global CDNYesYes
Universal SSLYesYes
DDoS protectionUnmetered (per Cloudflare)Unmetered
WAF managed rulesFree Managed Ruleset onlyFull Cloudflare Managed Rules
Rate-limiting rules12
Bot protectionBasicSuper Bot Fight Mode
Best forBlogs, company sites, small projectsShops and sites with real bot or attack traffic

For most beginners, Free is enough. Upgrade only when you have a concrete reason.

What Cloudflare actually does

Cloudflare works on two layers, and it helps to keep them apart.

1. DNS provider

To use Cloudflare, you switch your domain's nameservers at your registrar to the two Cloudflare nameservers you're assigned. From then on you manage all DNS records (A, CNAME, MX, TXT) in the Cloudflare dashboard. Cloudflare answers DNS queries from its global network, which is fast and reliable. If you keep domains at a separate registrar, this switch is quick – see why you should separate domain and hosting.

2. Proxy and CDN

Every DNS record has a toggle: Proxied (orange cloud) or DNS only (grey cloud).

Only the orange cloud turns on Cloudflare's CDN, protection and edge SSL.

What the free plan really delivers

CDN for static files

Images, CSS, JavaScript and fonts are cached in data centers close to your visitors. Important: according to Cloudflare's docs, HTML is not cached by default. Your pages still come from your server unless you create a Cache Rule – which is risky on dynamic sites with logins or carts. The free plan also caps cacheable files at 512 MB each. For video, a dedicated video CDN is the better fit; see cheap video hosting with Bunny Stream vs. Vimeo.

DDoS protection

Cloudflare advertises unmetered DDoS mitigation on every plan. For small sites this is the biggest security win: floods hit Cloudflare's network, not your small server – provided records are proxied and your real IP isn't exposed elsewhere.

SSL

For proxied records, Cloudflare automatically issues a certificate for the visitor-to-Cloudflare leg. You still need a certificate on your own server for the Cloudflare-to-origin leg – Let's Encrypt is free and most hosts set it up with one click.

Firewall and bots

The free plan includes the Free Managed Ruleset against common attacks, custom rules (for example "block /wp-login.php except from my country") and basic bot mitigation, plus one rate-limiting rule.

Six settings to change right after setup

  1. Set SSL/TLS mode to "Full (strict)". "Flexible" only encrypts up to Cloudflare and causes redirect loops on many servers. "Full (strict)" requires a valid certificate on your origin and is the secure choice.
  2. Turn on "Always Use HTTPS".
  3. Keep mail records on "DNS only". MX records and your mail server's hostname must not be proxied, or email stops arriving.
  4. Double-check all DNS records before switching nameservers. Cloudflare's import is usually good but not always complete. Compare it with your previous provider's list.
  5. Coordinate with your server or plugin cache. If you see stale content after an update, purge the cache. For WordPress specifics, see speeding up WordPress without plugin bloat.
  6. Enable two-factor authentication on your Cloudflare account. Whoever controls the account controls all your domains.

Common problems and their causes

Keeping your origin IP hidden

The proxy only protects you if attackers can't reach your server directly. The real IP often leaks through side doors: a forgotten DNS-only record for an old subdomain pointing at the same server, emails sent directly from the web server (the IP shows up in headers), or historical DNS data from before you moved to Cloudflare. On a VPS, the thorough fix is a firewall rule that only allows ports 80 and 443 from Cloudflare's published IP ranges.

Worked example: small blog on shared hosting

A blog with about 20,000 page views a month, hosted in the US, domain at a separate registrar.

  1. Create a free Cloudflare account and add the domain.
  2. Compare the auto-imported DNS records with your old provider; set mail records to DNS only.
  3. Change the nameservers at your registrar. Propagation can take a few hours.
  4. SSL to "Full (strict)", "Always Use HTTPS" on.
  5. Test: home page, contact form, login, outgoing email.

Result: images and scripts come from the CDN, attacks are filtered upstream, and the cost stays at $0. If you need a server of your own later, our VPS comparison covers budget options.

What's often left out

In proxy mode, every visitor request passes through Cloudflare. If you serve visitors in the EU or other regions with strict privacy laws, list Cloudflare as a processor in your privacy policy and review its data processing addendum. And every extra layer is another place where something can be misconfigured.

FAQ

Is Cloudflare really free?

Yes. The Free plan costs nothing and has no fixed bandwidth cap for normal websites. Costs only arise with paid plans or add-on products.

Will Cloudflare automatically make my site faster?

Partly. Static files load faster, but HTML still comes from your server by default. A slow server stays slow unless you also work on hosting or caching.

Can I use Cloudflare just for DNS?

Yes. Set every record to DNS only. You get fast DNS without proxy, CDN or protection features.

Do I still need an SSL certificate on my server?

For the secure "Full (strict)" mode, yes. Let's Encrypt is free and usually a one-click setup.

Who should do what?

← All articles