October 17, 2025 by Fredrik Rönnlund. Updated October 17, 2025
Where to host your static website: a practical guide
GitHub Pages, Cloudflare Pages, Netlify, Vercel and self-hosting compared for static sites: deployment workflow, CDN speed, free tier limits, and how to keep your site portable whichever you pick.
Updated 22 November 2026.
In short: for a small personal site or documentation, use GitHub Pages. For the fastest delivery worldwide with a generous free tier, use Cloudflare Pages. For Git deploys with forms and redirects built in, use Netlify. For preview deployments and a polished developer workflow, use Vercel. For full control or a plain upload with scp, host it yourself. Any of them works for a static site, and because a static site is only files, you can move between them at any time.
| Host | Free tier | How you deploy | Best for |
|---|---|---|---|
| GitHub Pages | Free, public and private repos | Push to a repository | Personal sites, docs, portfolios |
| Cloudflare Pages | Free, bandwidth included | Push to Git, or upload | Speed and global reach |
| Netlify | Free with limited build minutes | Push to Git, or drag and drop | Git workflow plus forms and redirects |
| Vercel | Free hobby plan | Push to Git, preview per commit | Developer workflow with previews |
| Self-hosting | The cost of a server | scp, rsync, FTP or CI | Full control, no vendor |
There are more places to host a static website than ever, and most of them promise free, global or edge hosting, which makes the choice harder than it should be. Static sites are simple by nature, and most hosts now handle the basics well: automatic deployments from Git, HTTPS by default, global delivery and no server to maintain.
What matters when choosing a static host
Before comparing providers, these are the factors that shape the experience:
1. Deployment workflow
Most modern static hosts are built around Git: you push changes, the host rebuilds and deploys. If you want that pipeline, pick a platform with good Git integration.
If you prefer to upload files by hand or sync over FTP or SFTP, choose a host that supports it, or self-host.
2. HTTPS and custom domains
Nearly every major platform includes free HTTPS certificates and quick DNS setup, but not all of them handle complex domain configurations equally well.
3. CDN performance
A global CDN decides how fast your site loads for visitors around the world. Cloudflare, for example, is known for fast and widely distributed caching.
4. Free tier limits
Look closely at:
- bandwidth
- build minutes
- site count
- team features
A generous free plan saves a hobbyist or freelancer real money.
5. Simplicity or control
Do you want a managed platform where everything works out of the box, or full control over hosting, caching and deployment?
GitHub Pages
Best for personal projects, documentation, portfolios, and any site that benefits from being tied to a repository.
GitHub Pages stays popular because it is simple:
- free hosting
- free HTTPS
- easy deployment from your repo
- reliable delivery for purely static content
It is not fancy, but it is stable and low on friction. For many developers that is the whole point.
Pros: dead simple setup, good for public repos (private repos work too, through Actions), and reliable hosting on GitHub's infrastructure.
Cons: limited configuration options, and it is not made for complex pipelines or large projects.
If your site is small and straightforward, GitHub Pages is hard to beat.
Cloudflare Pages
Best for anyone who wants speed, global distribution and a Git-based workflow.
Cloudflare Pages has become a common first choice because of its performance and developer experience:
- push to Git, and it builds and deploys
- a very fast CDN
- tight integration with Cloudflare Workers for optional dynamic features
- a generous free tier, bandwidth included
Many developers call it their default static host because it is fast and takes little effort.
Pros: one of the fastest global CDNs, automatic builds from Git, generous free limits, and optional edge logic through Workers.
Cons: build concurrency limits on the free plan, and some advanced features assume you know the Cloudflare ecosystem.
If raw speed and CDN quality matter, Pages is one of the strongest choices.
Netlify
Best for people who want easy Git-based deployments plus extras such as identity and redirects.
Netlify helped make the modern static hosting workflow common. It balances simplicity and capability:
- link your repo
- push changes
- auto-build and deploy
It suits personal sites, marketing sites and multi-environment builds.
Pros: very easy to use, useful built-in features (forms, redirects, functions), strong Git automation, and good documentation and ecosystem.
Cons: build minutes on the free tier run out quickly, and some features sit behind paid plans.
A polished, reliable platform with good tooling for static and static-plus sites.
Vercel
Best for developers who want a polished Git-driven workflow with previews and automated pipelines.
Vercel is often associated with dynamic frameworks, but it hosts static sites well too. Many users choose it for the workflow: "My workflow is repo-based… each commit triggers an automatic build and deployment through their pipeline."
If a smooth Git to build to deploy process matters to you, Vercel does it well.
Pros: a very good developer experience, automatic preview deployments, smooth Git integration, and good global performance.
Cons: paid tiers can get expensive, and some features lean toward dynamic frameworks.
A refined option for anyone who wants deployments handled for them.
Self-hosting
Best for developers who want full control or the simplest possible upload workflow.
Self-hosting can mean:
- a VPS running your own web server
- static file hosting on S3-compatible storage plus a CDN
- a plain server where you upload files with scp or sftp
The last option still has fans because it is so direct: build, scp, done.
Pros: unlimited flexibility, can be very cheap, no vendor lock-in, and you choose the deployment method (scp, rsync, FTP, CI scripts).
Cons: more knowledge and maintenance, no built-in build pipeline, and you manage SSL, CDN, security and backups yourself.
Good for power users and organizations with specific constraints.
Which one should you choose?
Our suggestion, which is subjective:
| Priority | Best match |
|---|---|
| Free, reliable, minimal setup | GitHub Pages |
| Best global performance | Cloudflare Pages |
| Easy Git-driven workflow with extras | Netlify |
| Polished developer experience | Vercel |
| Full control, no dependence on a vendor | Self-hosting |
Staying portable
The biggest advantage of a static website is that nothing ties it down: no vendor lock-in, no proprietary site builder, no framework that needs a particular host to run. A static site is HTML, CSS and assets. You own it fully and can host it wherever you want, now or later.
A portable static site starts with a clean, version-controlled repository. Git, on GitHub, GitLab or elsewhere, is the home for your website's content and code.
Static sites are fast, secure and flexible, and they follow a simple rule: your website should belong to you, not to your hosting provider or website builder.
With any of the hosts above and a site built from static files, by hand or with Flipsite, you get a site that:
- loads fast
- outputs correct, standard HTML
- meets accessibility requirements
- can be deployed anywhere without changes
- can be extended by hand at any time without paying anyone.
Publishing from Flipsite
If you build the site in Flipsite, GitHub Pages and Netlify are one button under Settings → Publish. Cloudflare Pages, Vercel and your own server take the webhook: Flipsite sends the built ZIP to a script of yours, which puts the files where you want them. Or download the ZIP and upload it by hand. See how publishing works, or start for free and try it on a site of your own.
Further reading
GDPR-compliant, privacy-first websites: a practical guide
October 15, 2026 by Henrik Karlström • 4m
AI agents can edit your website. What do they publish?
September 14, 2026 by Fredrik Rönnlund • 5m
How to ace the Google Lighthouse speed test
February 13, 2025 by Henrik Karlström • 3m
The case for static websites over dynamic ones
October 5, 2024 by Henrik Karlström • 3m