Free static website hosting is a real option in 2026. You can host a small website with your own domain and HTTPS on Cloudflare Pages, Netlify, GitHub Pages or Vercel. The catch is in the fine print. Two of the four don’t allow commercial use on the free plan, and that includes a blog with AdSense or affiliate links.
The limits below come from each provider’s official pages, checked on 3 October 2026. Free plans change often, so open the linked source before you commit. This guide shows what each free static website hosting plan really gives you, how to put a site live in a few minutes, and when paid WordPress hosting makes more sense.
What “static” hosting means
A static site is plain HTML, CSS and JavaScript files. There’s no database and no PHP running on the server. Site generators like Astro, Hugo, Eleventy and Jekyll build these files for you. You push your code to GitHub, the host builds it and serves it from its global network.
WordPress is not static. It needs PHP and a MySQL database, so you can’t run it on these four free hosts.
Free static website hosting compared
| Cloudflare Pages | Netlify (Free) | GitHub Pages | Vercel (Hobby) | |
|---|---|---|---|---|
| Bandwidth | Static requests are free and unlimited | 300 credits a month; 1 GB = 20 credits | 100 GB a month (soft limit) | 100 GB a month |
| Builds | 500 a month, 20 min timeout | Each production deploy = 15 credits | 10 an hour (soft limit) | 100 deploys a day, 45 min per build |
| Projects | 100 | 500 per team | Site up to 1 GB | 200 |
| Custom domains | 100 per project | Yes, with SSL | Yes, with HTTPS | 50 per project |
| Commercial use on free plan | Not restricted on the limits page | Allowed | Not allowed for business, shop or SaaS sites | Not allowed. Ads always count as commercial, and so do sites built mainly around affiliate links |
| What happens at the limit | 500-build monthly cap | All your sites are paused | Rate limiting possible | You need to upgrade |
| Paid plan | See Cloudflare’s pricing page | Personal $9 a month, Pro $20 a month | Not applicable | Pro $20 a month |
Sources: Cloudflare Pages limits, Cloudflare Pages pricing, Netlify credit plans, Netlify pricing, GitHub Pages limits, Vercel limits, Vercel fair use, Vercel pricing.
Cloudflare Pages: the safest free pick for a blog
Cloudflare says static requests on Pages are free and unlimited, on free and paid plans. You get 500 builds a month, 100 projects and up to 20,000 files per site (25 MiB max per file). Its limits page doesn’t ban commercial use.

If your site runs AdSense or affiliate links, Cloudflare Pages is the safest of these four free options. You can also buy your domain at Cloudflare Registrar, which says it doesn’t mark up domain prices.
Netlify: easy, but watch the credits
Netlify moved to a credit system. The free plan gives 300 credits a month. Every production deploy costs 15 credits and every 1 GB of bandwidth costs 20. That means about 20 deploys, or roughly 15 GB of traffic if you never deploy, before you run out. Page views also use credits (2 credits for every 10,000 requests), so a busy site runs out sooner. Accounts created before 4 September 2025 may still be on Netlify’s older plans, which work differently.
The risk is what happens next. Netlify says that when you run out, all your projects are paused and visitors see a “Site not available” page (Netlify docs). Commercial use is allowed, and paid plans start at $9 a month.
GitHub Pages: good for portfolios and docs
GitHub Pages is free with a public repository. It gives 100 GB of bandwidth a month and supports custom domains with HTTPS. But GitHub’s own rules say it isn’t meant to be free hosting for an online business, e-commerce site or SaaS. Use it for a portfolio, project docs or a personal site.
Vercel Hobby: great for developers, not for monetised sites
Vercel’s Hobby plan is generous for side projects: 100 GB of data transfer, 1 million function invocations and 100 deploys a day. But its fair use rules say Hobby is for non-commercial personal use only, and they count any site with ads (such as AdSense) as commercial, and also sites whose main purpose is affiliate links. If you plan to earn from the site, you need Pro at $20 a month.
How to put a static site on Cloudflare Pages (no Git needed)
This is the quickest way to try free hosting if you already have a folder with an index.html file. Cloudflare changes its dashboard often, so button names may be slightly different.
- Sign up or log in at dash.cloudflare.com. A free account is enough.
- Open Workers & Pages and click Create.
- Choose the Pages option and pick the upload (drag and drop) method instead of connecting Git.
- Give the project a name. This becomes your free address, for example yourname.pages.dev.
- Drag your site folder (or a ZIP of it) into the upload box and click Deploy.
- Open the .pages.dev link to check the site. To use your own domain, open the project, go to Custom domains and follow the steps.
If you use Astro, Hugo or another generator, connect your GitHub repository instead. Cloudflare then rebuilds the site every time you push a change.
Troubleshooting free static website hosting
The site shows a 404 page after deploy
The host cannot find index.html. Make sure it sits at the top of the folder you uploaded, or that the build output folder is set correctly (for example dist for Astro, public for Hugo).
The build fails or times out
Cloudflare Pages stops builds after 20 minutes on the free plan. Check the build log for a missing package or the wrong Node.js version, and remove very large images from the repository.
A file will not upload
Cloudflare Pages allows files up to 25 MiB each and 20,000 files per site on the free plan. Put large videos or downloads on another service and link to them.
You cannot create a new project
Cloudflare limits how many new Pages projects you can make in your first 48 hours. Wait until the 48 hours pass.
Custom domain shows “not secure” or does not load
DNS changes and the free SSL certificate can take some time to start working. Check that the DNS record points to your Pages project, then wait and try again before changing anything else.
Netlify site shows “Site not available”
Your account has used its 300 free credits for the month, and Netlify has paused all your projects. Wait for the next month, upgrade, or move the site to another host.
Common mistakes with free website hosting
- Putting AdSense on a Vercel Hobby or GitHub Pages site. Their rules do not allow it on the free plan.
- Deploying on Netlify after every small typo fix. Each production deploy uses 15 of your 300 monthly credits.
- Trying to install WordPress on these hosts. They only serve static files.
- Buying a domain with cheap first-year pricing without checking the renewal price.
- Forgetting to keep a copy of your site files. With static hosting, your folder or Git repository is your backup.
Example: you want a simple portfolio with your CV, and later a small blog with AdSense. Build it with Astro, push it to GitHub, connect the repository to Cloudflare Pages and add your .com domain. Your only cost is the domain, around $10 a year, and you stay within the rules when you add ads later.
When to pay for WordPress hosting instead
Free static hosting is great if you’re happy writing in Markdown or using a site generator. Pick paid WordPress hosting if:
- You want to write and edit in a normal dashboard, not in code
- Other people post on your site
- You rely on plugins for SEO, forms or a shop
- You don’t want to deal with Git and builds
The thing most people miss is the renewal price. On Hostinger’s shared plans it is about 3.7 to 4.3 times the intro price you see on the sales page.
| Host and plan | Intro price | Renewal price | Term |
|---|---|---|---|
| Hostinger Premium | $2.99 a month | $10.99 a month | 48 months |
| Hostinger Unlimited | $3.99 a month | $16.99 a month | 48 months |
Both plans include a free domain for the first year. Prices are from Hostinger’s pricing page on 3 October 2026 and don’t include tax (Indian buyers pay 18% GST on top). They change often, so look at the checkout page before you pay.
Domain and email on a budget
- Domain: a .com costs around $10 to $11 a year. Cloudflare Registrar sells at cost with no markup. Because there’s no markup, the renewal price is the same as the first-year price. Check the exact amount at checkout, since registry fees change.
- Free email forwarding: Cloudflare Email Routing is free and forwards mail sent to you@yourdomain.com into Gmail or any inbox. It handles incoming mail only.
- Free mailbox: Zoho Mail’s Forever Free plan gives up to 5 users with 5 GB each on one domain. It works in the web and mobile apps only, with no IMAP or POP. Zoho has changed its free plan before, so confirm the current limits on Zoho’s pricing page.
Speed and security basics
All four free hosts serve your site from a global CDN and give free HTTPS, so a static site will usually load fast out of the box. For WordPress, use a caching plugin, keep plugins and themes updated, and turn on automatic backups. Put Cloudflare’s free plan in front of it for extra caching and basic protection.
If your computer is the slow part while you build your site, see our tips to fix a slow laptop on Windows 11. And our list of free software for Windows 11 has more free tools.
FAQ
Can I use a custom domain with free website hosting? Yes. Cloudflare Pages, Netlify, GitHub Pages and Vercel all support custom domains with free HTTPS. You only pay for the domain itself.
Can I run AdSense on Vercel or GitHub Pages for free? Vercel’s Hobby rules count ad and affiliate sites as commercial, so no. GitHub Pages isn’t meant for business sites either. Cloudflare Pages is the safer free choice.
What happens if I go over Netlify’s free limits? Netlify pauses all your projects until the next month or until you upgrade.
Is there free website hosting with a free domain? You get a free subdomain like yoursite.pages.dev or yoursite.netlify.app. A custom .com costs about $10 a year.
When should I pay for WordPress hosting? When you want a normal editor, plugins or a shop, and don’t want to work with code. Budget for the renewal price, not just the intro offer.
Final words
For a simple site that earns from ads, start with Cloudflare Pages and a cheap domain. If you need WordPress, pick a plan you can afford at the renewal price, not just the first-year deal.

