Cloudflare is the indie creator's hidden superpower. Most people think it's just a CDN, but its free tier actually offers 20+ services covering nearly all the infrastructure you need to run a website.
What Can Cloudflare's Free Tier Do?
- Host static sites (Pages, unlimited bandwidth)
- Register and manage domains (cheaper than Namecheap)
- Global CDN acceleration
- DDoS protection
- Free SSL certificates
- Web Analytics (no Google Analytics dependency)
- Serverless functions (Workers, 100K free requests/day)
- KV storage, D1 database (free tier)
- Form handling, email routing
- Image optimization, cache rules
Honestly, for an indie creator's website, the free tier is more than enough. The only thing lacking is your knowledge of what it can do.
Step 1: Domain Registration
Buy your domain directly from Cloudflare, not through a third party. Why?
- Cloudflare sells domains at near zero profit (registry cost only)
- No extra DNS configuration needed — buy it, manage it, done
- No hidden renewal price hikes (Namecheap and GoDaddy offer cheap year one, then double on renewal)
A .com domain is roughly $10/year. Go to Cloudflare Dashboard → Domain Registration and search to buy.
Step 2: Site Hosting (Pages)
If your site is pure static (HTML+CSS+JS, like this content site), Cloudflare Pages is the best choice:
- Direct GitHub repo connection — push code, auto-deploy
- 330+ global edge nodes, blazing fast access speed
- Unlimited bandwidth, unlimited requests (free)
- Built-in preview deployments (auto-generated preview URL per PR)
Deployment steps: Pages → Create Project → Connect GitHub repo → Set build command (select None for pure static) → Deploy. Total time: 2 minutes.
Step 3: Analytics (Web Analytics)
Google Analytics is bloated, privacy-unfriendly, and blocked by many browsers. Cloudflare Web Analytics is a better choice:
- Server-side data, not blocked by AdBlock
- No personal privacy tracking, no cookie banner needed
- All core metrics: PV, UV, source, country, device
- Completely free
Go to Dashboard → Analytics & Logs → Web Analytics, add your site, and place the JS snippet in your page's <head>.
Step 4: Basic Security Configuration
SSL/TLS
Cloudflare provides free SSL certificates by default. In SSL/TLS settings, select "Full (strict)" to ensure encryption both between visitors and Cloudflare, and between Cloudflare and your server.
Security Headers
Create a _headers file in your Pages project root:
/* X-Frame-Options: DENY X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin Permissions-Policy: camera=(), microphone=(), geolocation=()
Cache Rules
In Dashboard → Caching → Cache Rules, set:
- HTML files: cache 1 hour (updates take effect promptly)
- CSS/JS/images: cache 1 month (these rarely change; use versioned filenames for updates)
Step 5: Other Useful Features
Workers (Serverless Functions)
Need simple backend logic (form submissions, API proxying, A/B testing)? Workers give you 100K free requests per day. Just a few lines of JS.
Email Routing
Want [email protected] but don't want to maintain a mail server? Cloudflare Email Routing forwards your domain emails to your existing Gmail — free.
Zaraz (Third-Party Script Management)
Your site loads GA, Facebook Pixel, Hotjar... these third-party scripts slow things down. Zaraz loads them through Cloudflare's edge network — faster and better for user privacy.
Summary: The Indie Creator's Standard Stack
A minimal Cloudflare configuration for a content site:
- Domain: Cloudflare Registrar
- Hosting: Cloudflare Pages (connected to GitHub)
- CDN/Security: Enabled by default
- Analytics: Web Analytics
- Email: Email Routing → forward to Gmail
Annual cost: $10 for the domain. Everything else: $0.