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
| Piece | What you pay | The catch |
|---|---|---|
| --- | --- | --- |
| Domain, year one | $3.18 at Spaceship (code COMPROS) · $3.80 (code COM67) · $11.17 at Cloudflare · $11.81 at Porkbun | Both 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 Porkbun | Namecheap renews a .com at $19.98 + $0.20 ICANN fee |
| Hosting, SSL, analytics | $0 | Free tiers have caps |
| First-year total | $3.18 with COMPROS, $3.80 with COM67, $11.17 at the honest flat price | You 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:
- Cloudflare Registrar — $11.17 a year to register, renew or transfer: Cloudflare sells domains at cost, WHOIS privacy free. Condition: every domain there must use Cloudflare's nameservers.
- Porkbun — $11.81 a year, flat, ICANN fee included, with free WHOIS privacy, SSL and DNS management. No teaser price, no renewal shock.
- Spaceship — $3.18 for the first year of a .com with promo code COMPROS, or $3.80 with promo code COM67. Both are real checkouts I have done myself — COM67 paid $3.80 on 25 November 2026. One code per checkout: try COMPROS first, COM67 if that one fails. Both renew at $10.88 a year. Codes can expire without warning, so check the total on the checkout page before you pay. Both codes are written up on DevNav's promo page.
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.
| Host | Price | The limit that matters |
|---|---|---|
| --- | --- | --- |
| Cloudflare Pages | $0 | 500 builds a month, 20,000 files, 25 MB per file, 100 custom domains; static bandwidth unlimited |
| Vercel Hobby | $0 | 100 GB of transfer and 1 million requests a month; personal, non-commercial use only |
| GitHub Pages | $0 | Free 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
- Buy the domain. Spaceship with COMPROS for the $3.18 first year; Cloudflare or Porkbun for a price that never moves.
- Put the site in a GitHub repository. Plain HTML is enough — an
index.htmlat the root is a website. Edit with Visual Studio Code; look up the rest in the MDN Web Docs. - Create the project on Cloudflare Pages and connect the repository. Pages deploys a plain HTML site as-is.
- 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.
- 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
- Google Analytics — how many people came, and what they did. The standard GA4 property is free; add the measurement ID once and it counts from the first visit.
- Google Search Console — how Google sees the site: which queries bring clicks, which pages are indexed, what is broken. Verify the domain, submit
sitemap.xml, and expect the data to lag a couple of days. - Bing Webmaster Tools — the same for Bing, which matters more than most developers assume: on some small sites Bing sends more search traffic than Google. It imports your Search Console verification.
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
- Black Friday 2026 Deals We Actually Verified (Across Our Sites) — Black Friday deals on my own sites, checked line by line on 27 November 2026 — robot vacuums, baby gear and VPS prices, including the discounts that already ended. (26 November 2026)
- How to Buy a .com Domain for $3.18 (Spaceship Promo Codes, Verified) — two promo codes, one checkout: COMPROS at $3.18 total vs COM67 at $3.80 — which one to use, the renewal trap, and the other TLD codes worth knowing. (26 November 2026)
- Take Payments for a Side Project Without Incorporating — take your first payment as an individual — no company needed. Merchant of record vs direct processor, and what a $49 sale actually costs. (23 November 2026)
- Get Your First Backlinks Free: A Directory-Submission Playbook for a New Site — submit a new site to free directories in three tiers. $0. (20 November 2026)
- All articles in the DevNav Weekly Column →
DevNav is a hand-checked directory of developer tools; this column recommends only tools listed there. Browse it at devnav.dev.