Cloudflare Pages: Deploy a Site for $10 a Year

Deploying meetingscost.com cost me $10 for the year — that was the domain, and everything else (hosting, CDN, CI/CD, SSL, email routing) came free through Cloudflare.


Where to Host a Static Site for Free in 2026

The common options are GitHub Pages, Netlify free tier, and Vercel hobby plan. All three work for basic static sites. GitHub Pages is the simplest but has limited build flexibility beyond Jekyll. Netlify and Vercel both auto-deploy from GitHub and offer 100 GB/month bandwidth on their free tiers, but each has build minute caps and locks some useful features behind paid plans. Cloudflare Pages sits in the same category with a few meaningful differences: it runs on Cloudflare’s global edge network across 330+ cities, has no bandwidth limits on the free tier, and allows 500 builds per month with no compute time ceiling. For a static site or a Workers-based project, that is more headroom than most side projects will consume.


Why Cloudflare Pages Is a Strong Free Hosting Choice

The GitHub integration works without configuration. Connect a repo, set an optional build command, and every push to main triggers a deploy. For a plain HTML/CSS/JS site, there is no build command — just point Cloudflare at the directory containing your files. The wrangler.jsonc config for a static site is four lines:

{
  "name": "my-site",
  "compatibility_date": "2026-04-14",
  "assets": {
    "directory": "./"
  }
}

Push that to GitHub, connect the repo in the Cloudflare Pages dashboard, and the site is live on a *.pages.dev subdomain in under a minute. No YAML pipeline files to write, no Docker images to configure. For anyone already using GitHub, this is zero additional tooling overhead.

The edge delivery matters for user experience. Cloudflare Pages serves assets from the nearest of those 330+ locations globally. For a simple marketing site or a calculator tool, this means sub-100ms load times for most users without any CDN configuration or cache-warming.

Cloudflare Workers and Pages dashboard showing the meeting-cost project connected to the kvantatech/simple-sites GitHub repository

Cloudflare as Your Domain Registrar

Most domain registrars sell at cost and recover margin through renewal price increases, add-ons, and aggressive upsells at checkout. Cloudflare Registrar sells domains at ICANN wholesale price with no markup. A .com domain runs about $10.44 per year, and that price stays flat at renewal. WHOIS privacy is included by default — no separate fee.

The operational benefit is having DNS, hosting, and the domain in one dashboard. Connecting a custom domain to a Pages project takes two steps: add the domain in the Pages project settings, update your nameservers to point to Cloudflare. After that, DNS propagation and SSL provisioning happen automatically. No manual A records to wire up, no waiting for certificate issuance.


Free Features That Make a Difference

Two Cloudflare features that look small but are genuinely useful in practice:

Redirect rules. Setting up a redirect from www.yourdomain.com to the apex domain (or the reverse) is a single rule in the Cloudflare dashboard. No nginx config, no serverless function, no extra DNS entries. The rule propagates globally in seconds.

Email Routing. Registering a domain through Cloudflare includes email routing at no cost. You can create a custom address like contact@yourdomain.com that forwards to any personal inbox. This is useful for side projects that need a professional contact point without paying for Google Workspace or similar. When I set up a Google Play developer account for an LLC, a custom domain email was required as the public business contact. Cloudflare Email Routing handled that with a few clicks and no additional cost. I documented that full process in How to Register a Google Play Developer Account for Your LLC.

Cloudflare Email Routing rules showing about@meetingscost.com forwarding to a personal email address

What Else Cloudflare Gives You on the Free Tier

A few more capabilities worth knowing before reaching for a paid alternative:

  • Web Analytics. Privacy-first, cookie-free, no GDPR banner required. Shows page views, referrers, and top countries. Accurate enough for a side project without any third-party tracking scripts.
  • DDoS protection. Always on at L3/L4, no configuration required. Your site gets it by default.
  • SSL/TLS. Auto-provisioned and auto-renewed. No Certbot, no Let’s Encrypt setup, no renewal reminders.
  • Firewall rules. The free tier includes custom firewall rules — enough to block specific countries, rate-limit aggressive bots, or challenge suspicious traffic patterns.
  • R2 object storage. 10 GB free with zero egress fees. If a project needs to serve user-uploaded content or large assets, R2 is cheaper than S3 for anything with significant read traffic, since you pay only for storage and writes, not downloads.

For a side project or micro-site, the total annual cost is the domain. The hosting, the CDN, the CI/CD pipeline, the SSL certificate, and the email address all run on Cloudflare’s free tier without modification or workarounds.




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • How to Register a Google Play Developer Account for Your LLC: A Step-by-Step Guide
  • Summarize RSS Feeds with Local LLMs: Ollama, Open-WebUI, and Matcha Guide
  • Capacitor WebView Cache: Why New Builds Show Old Assets
  • LLM Performance on Mac: Native vs Docker Ollama Benchmark
  • How to install and use docker compose along with colima on MacOS