devnav

DevNav Weekly Column · Edition 5 · 30 November 2026

Ship a Static Site for ~$0: Domain, Hosting, and Analytics

A static site is the cheapest thing on the internet that still looks like a real product. No server to patch, no database to back up, no monthly bill. A landing page, a docs site, a blog — if the pages do not change per visitor, they do not need a server at all.

The whole stack has exactly one bill: the domain name. Hosting, the certificate and the analytics are all free. Everything below uses tools listed on DevNav, with prices and limits checked on 30 November 2026 — DevNav itself runs on GitHub plus Cloudflare Pages.

The short version: a .com costs $3.18 for the first year with code COMPROS, or $3.80 with code COM67 — both verified from real checkouts. Either way you save about $7–$8 off the $11.17 honest price. No code? $11.17 a year at Cloudflare, the same price every year. Hosting, SSL and analytics are $0 either way.

The honest bill

PieceWhat you payThe catch
---------
Domain, year one$3.18 at Spaceship (code COMPROS) · $3.80 (code COM67) · $11.17 at Cloudflare · $11.81 at PorkbunBoth Spaceship codes are first-year promos; COM67 is the verified fallback if COMPROS fails
Domain, every year after$10.88 at Spaceship · $11.17 at Cloudflare · $11.81 at PorkbunNamecheap renews a .com at $19.98 + $0.20 ICANN fee
Hosting, SSL, analytics$0Free tiers have caps
First-year total$3.18 with COMPROS, $3.80 with COM67, $11.17 at the honest flat priceYou save $7.99 with COMPROS, $7.37 with COM67

Pick the domain first, and read the renewal column

Verisign raised the .com wholesale fee from $10.26 to $10.97 a year on 1 November 2026; ICANN adds $0.20. So $11.17 is the cheapest honest .com price — anything far under it is a first-year teaser.

Three honest ways to buy:

Namecheap is the cautionary example: a cheap first year, then a .com renewal of $19.98 plus the $0.20 ICANN fee — nearly double the at-cost price. A transfer to Cloudflare or Porkbun costs about one year's renewal and adds a year. Buy the .com, not a $0.99-first-year extension that renews at $30. Leave auto-renew on, and never bundle the domain with hosting.

Hosting: three free options, one clear pick

All three are listed on DevNav, all include free HTTPS, and all deploy from a Git repository.

HostPriceThe limit that matters
---------
Cloudflare Pages$0500 builds a month, 20,000 files, 25 MB per file, 100 custom domains; static bandwidth unlimited
Vercel Hobby$0100 GB of transfer and 1 million requests a month; personal, non-commercial use only
GitHub Pages$0Free for public repositories; deploys straight from a branch

Cloudflare Pages is the pick for most sites. Unlimited static requests and bandwidth, 500 builds a month (about 16 a day), 100 custom domains. A text-and-images site will not touch those ceilings.

Vercel has the best developer experience and the strictest terms. Hobby is $0 — 100 GB of transfer, a million requests and a million function invocations a month — but only for personal, non-commercial projects, and the caps are hard stops: you cannot buy more usage, and a hit limit usually stays off until the 30-day window resets. If the site will ever earn money, start on Pages instead of migrating later.

GitHub Pages is the simplest if your code already lives on GitHub. A public repository and a branch, and the site is live at yourname.github.io — fewest features, but simple wins for a personal page or docs.

Do not pay for shared hosting for a static site: a $5–$10 a month plan buys a server you do not need, with a renewal that quietly doubles in year two. Static hosting is $0.

Go live in an afternoon

  1. Buy the domain. Spaceship with COMPROS for the $3.18 first year; Cloudflare or Porkbun for a price that never moves.
  2. Put the site in a GitHub repository. Plain HTML is enough — an index.html at the root is a website. Edit with Visual Studio Code; look up the rest in the MDN Web Docs.
  3. Create the project on Cloudflare Pages and connect the repository. Pages deploys a plain HTML site as-is.
  4. Add the custom domain in Pages and point the DNS at it. Registered at Cloudflare, this is a couple of clicks; Pages issues the certificate automatically.
  5. Add analytics (next section) before you tell anyone, so the first visitor is counted — then ship one finished page. A live homepage beats a perfect site that is still local.

Analytics that cost $0

The toolkit

Cloudflare Pages — free static hosting, 500 builds a month, unlimited static bandwidth, free SSL, 100 custom domains. DevNav runs on it.

Cloudflare Registrar — domains at cost: $11.17 a year for a .com, the same at renewal, free WHOIS privacy, Cloudflare nameservers required.

Porkbun — $11.81 a year for a .com, flat, free WHOIS privacy and SSL. The pick if you want the domain independent of your host.

Spaceship — $3.18 first-year .com with code COMPROS, $3.80 with code COM67 (verified by my own order, 25 November 2026), renewing at $10.88 a year. Verified on DevNav's promo page on 26 November 2026.

Vercel — Hobby is $0 for personal, non-commercial projects: 100 GB transfer, 1 million requests a month, hard caps.

GitHub Pages — free hosting for public repositories, straight from a branch. Simplest if the code is already on GitHub.

Google Analytics, Google Search Console, Bing Webmaster Tools — free traffic, indexing and search data.

When to pay

Pay when a free limit actually bites, not before. A contact form or a little server logic is the first reason: Cloudflare's Workers Paid plan starts at $5 a month and covers 10 million requests. Real server-side work is the second: DigitalOcean is listed on DevNav, with a $200 credit offer for new accounts on DevNav's promo page (verified 26 November 2026). Outgrowing 500 builds a month means deploying 16 times a day — a $20 Pro plan solves it.

The bottom line

Domain $3.18 for the first year with code COMPROS ($3.80 with COM67), $11.17 a year at the honest price. Hosting $0, certificate $0, analytics $0. A real site on a real domain, with real numbers about who visits it, costs less than one lunch — and every part of it can move later, because the domain is yours, the code is in your repository, and the host is a free tier, not a contract. Ship the page this afternoon.

More from the DevNav column


DevNav is a hand-checked directory of developer tools; this column recommends only tools listed there. Browse it at devnav.dev.