Web Hosting Cloud & Hosting How-To
How to Host a Website for Free in 2026: 7 Real Options
Learn how to host a website for free in 2026 with GitHub Pages, Cloudflare, Netlify, Vercel, WordPress.com and Oracle Cloud, plus the real limits of each.
You can host a website for free in 2026 without ads, without a credit card and without a catch that bites you in week two, as long as you pick the right kind of free. For a static site (a portfolio, a landing page, docs, a simple blog built with a site generator), GitHub Pages and Cloudflare Pages are the best choices. If you want WordPress with zero setup, WordPress.com's free plan works but shows ads and won't let you use your own domain. And if you need a real server, Oracle Cloud's Always Free tier gives you a surprisingly capable virtual machine.
The short version of my advice: use Cloudflare Pages if you want the fewest limits, GitHub Pages if your code already lives on GitHub, and WordPress.com Free or Google Sites if you don't want to touch code at all. Vercel and Netlify are excellent too, but their free plans have rules (non-commercial use on Vercel, a monthly credit cap on Netlify) that you need to know about up front.
Below you'll find each option's current free limits, checked against the providers' own pricing and docs pages on December 1, 2026, a step-by-step guide for one static site and one WordPress site, your free domain options, and the point where paying a few dollars a month makes more sense.
Key takeaways
- Cloudflare Pages has the most forgiving free plan for static sites: no bandwidth charges, 500 builds a month and up to 100 custom domains per project.
- GitHub Pages is free with a 1 GB site size limit and a 100 GB monthly bandwidth soft limit, but GitHub says it isn't meant for running a business or online store.
- Vercel Hobby is limited to personal, non-commercial use. Netlify Free gives you 300 credits, and a gigabyte of bandwidth costs 20 of them.
- WordPress.com Free includes 1 GB of storage and a yoursite.wordpress.com address, with ads and no plugins.
- Truly free custom domains are basically gone. Plan on roughly $10 to $15 a year for a .com, or use the free subdomain each host gives you.
The best ways to host a website for free in 2026
Free hosting falls into three groups. Static hosts (GitHub Pages, Cloudflare Pages, Netlify, Vercel) serve HTML, CSS and JavaScript files from a global network, and they're fast and secure because there's no server for you to manage. Site builders (WordPress.com, Google Sites) give you an editor in the browser. Cloud free tiers (Oracle Cloud Always Free) hand you a virtual server and let you install whatever you want, which is powerful and also more work.
| Option | Best for | Key free limits | Custom domain | Commercial use |
|---|---|---|---|---|
| GitHub Pages | Portfolios, docs, project sites | 1 GB site, 100 GB/mo bandwidth (soft), 10 builds/hr (soft) | Yes, free HTTPS | Not for businesses or stores |
| Cloudflare Pages | Any static site, higher traffic | 500 builds/mo, 20,000 files, 25 MiB per file, no bandwidth fees | Yes, up to 100 per project | Allowed |
| Netlify Free | Small sites, forms, previews | 300 credits (15 per deploy, 20 per GB) | Yes, free SSL | Allowed |
| Vercel Hobby | Next.js side projects | 100 GB transfer, 1M function calls, 1M CDN requests/mo | Yes | Personal, non-commercial only |
| WordPress.com Free | Beginner blogs | 1 GB storage, ads, no plugins | No (subdomain only) | Limited |
| Google Sites | Simple info pages, clubs, class sites | Template editor, Google account required | Yes, up to 5 per site | Allowed, basic |
| Oracle Cloud Always Free | Self-hosted WordPress, apps, APIs | 2 Arm OCPUs and 12 GB RAM, 200 GB block storage, 10 TB/mo outbound | Yes (you configure it) | Allowed |
GitHub Pages
GitHub Pages turns a repository into a website. Your published site can be up to 1 GB, the recommended repository size is also 1 GB, and there's a soft bandwidth limit of 100 GB a month plus a soft limit of 10 builds per hour (that one doesn't apply if you deploy with your own GitHub Actions workflow). Deployments time out after 10 minutes. The big rule: GitHub says Pages isn't intended as free hosting for running an online business, an e-commerce site or a commercial software service, and you shouldn't use it for anything that handles passwords or card numbers. For a personal site or open-source docs, though, it's hard to beat.
Cloudflare Pages
This is my default pick for a static site. On the free plan you get 500 builds a month (one at a time, 20-minute timeout), up to 20,000 files per site, 25 MiB per file and up to 100 custom domains per project. Cloudflare doesn't bill for bandwidth, so a post that suddenly goes viral won't run you out of quota. Cloudflare's docs now point people who need more than 100 sites toward Workers Static Assets, and new projects increasingly start there, but Pages is still fully supported and simpler for beginners. For a deeper look at how it stacks up, see our Vercel vs Netlify vs Cloudflare Pages comparison.
Netlify Free
Netlify is friendly and full of extras like form handling and deploy previews. Since September 2025, though, new accounts are on a credit system. The free plan gives you 300 credits; a production deploy costs 15, each GB of bandwidth costs 20 and every 10,000 web requests cost 2. So if bandwidth were your only cost, you'd get about 15 GB a month, and in practice you'll spend credits on deploys too. When the credits run out, your site pauses until the next cycle. It's fine for a small site that you don't redeploy dozens of times a month.
Vercel Hobby
Vercel's free Hobby plan is generous on paper: 100 GB of Fast Data Transfer, 1 million function invocations, 1 million CDN requests, 4 hours of Active CPU and 5,000 image transformations a month. It's also the smoothest home for Next.js. The catch is in the terms of service, which limit Hobby to personal or non-commercial use. A portfolio is fine. A site for your bakery is not, and that one belongs on Pro at $20 per month.
WordPress.com Free
The free plan never expires and gives you a yoursite.wordpress.com address, 1 GB of storage, unlimited posts and pages, and basic stats for the last seven days. You can't install plugins, you can't connect a custom domain, and visitors see WordPress.com ads. It's a decent way to start a blog and find out if you'll actually stick with it. If you do, the Personal plan is $4 a month billed annually ($9 month to month) and includes a free domain for the first year.
Google Sites
Google Sites is free with any Google account and is the easiest option here. You drag in text, images, Docs, Sheets and Maps, then hit publish. You can connect up to five custom domains per site, though the site has to be shared publicly and a few features (such as Google Groups embeds) don't work on a custom domain. Design options are limited, and there's no blog engine, so treat it as a tool for a club page, a class site or a simple one-page business card.
Oracle Cloud Always Free
Oracle's Always Free tier is the only option on this list that gives you a full Linux server at no cost. You get Arm-based Ampere A1 compute equal to 2 OCPUs and 12 GB of memory, two small AMD instances with 1 GB of memory each, 200 GB of block storage, 20 GB of object storage, two Autonomous Databases and 10 TB of outbound data a month. That's enough to run WordPress, a Node app or a small API comfortably. The tradeoffs: you need a credit card to sign up, you're the sysadmin, A1 capacity is often "out of host capacity" in popular regions, and Oracle may reclaim instances that sit idle (under 20% CPU, network and memory use over seven days).
Free hosting is great for learning and for personal projects. The moment the site makes you money, the free plan's rules start working against you.
How to host a static website for free on GitHub Pages (step by step)
This works for any plain HTML site, or for the output of a static site generator like Astro, Hugo or Jekyll. You need a free GitHub account and about ten minutes.
- Create a repository. On GitHub, click New repository. If you name it
yourusername.github.io, the site will live at that address. Any other name gives youyourusername.github.io/repo-name. Keep it public. - Add your files. Upload an
index.htmlfile (plus your CSS, images and other pages) using Add file, then Upload files. The home page must be called index.html. - Turn on Pages. Open the repository's Settings, then Pages. Under Build and deployment, choose Deploy from a branch, pick the
mainbranch and the root folder, and save. - Wait for the first deploy. It usually takes a minute or two. The Pages settings screen shows your live URL when it's ready.
- Add a custom domain (optional). Enter your domain in the Custom domain box, then add the DNS records GitHub lists at your registrar (a CNAME for www, or A records for the root domain). Once DNS resolves, tick Enforce HTTPS.
- Update the site. Every time you push or upload a change to the main branch, GitHub rebuilds and republishes automatically.
The Cloudflare Pages version is nearly identical: connect your GitHub repository in the Cloudflare dashboard (Workers and Pages, then Create), choose your framework preset or leave the build command empty for plain HTML, and deploy. You'll get a free project-name.pages.dev address, and adding a domain is easier if the domain's DNS is already on Cloudflare.
How to host a WordPress website for free
You have two realistic routes. One takes five minutes, the other takes an afternoon.
Option 1: WordPress.com Free (easiest)
- Go to WordPress.com and sign up with an email or Google account.
- Pick a site name. That becomes your free address, like
mybakeryblog.wordpress.com. - When asked to choose a plan, select Start with Free (it's often below the paid plans, so scroll).
- Choose a theme, then write your first post or page in the block editor and click Publish.
That's it. Just remember the limits: ads, no plugins, no custom domain and 1 GB of storage.
Option 2: Self-hosted WordPress on Oracle Cloud Always Free (most control)
- Create an Oracle Cloud account and pick your home region carefully, since Always Free compute must be created there.
- Launch a VM.Standard.A1.Flex instance with Ubuntu (for example 2 OCPUs and 12 GB of memory, or split into two smaller VMs) and add your SSH key.
- Open ports 80 and 443 in the instance's security list and in the server's own firewall.
- SSH in and install a web stack (Nginx or Apache, PHP and MariaDB), or use a one-command tool such as a control panel installer.
- Download WordPress, create a database and run the installer in your browser.
- Point your domain's DNS to the instance's public IP and add a free Let's Encrypt certificate with Certbot.
- Set up backups. Oracle gives you five free volume backups, and a backup plugin that copies to object storage adds a second safety net.
This gives you plugins, your own domain and no ads for $0 a month in hosting, but every security update is now your job. If you'd rather have someone do the server setup properly, Teczpert's website migration and server setup services can handle it for you.
Free domain options and their limits
Here's the honest picture. Every host above gives you a free subdomain (github.io, pages.dev, netlify.app, vercel.app, wordpress.com or sites.google.com), and those are fine for testing, portfolios and hobby projects. Free top-level domains are a different story. Freenom, which used to hand out free .tk, .ml and .ga names, stopped offering them in 2023, and the "free domain" deals you see today almost always come bundled with a paid hosting plan for the first year only.
- Free subdomain from your host: $0, works instantly, but looks less professional and is tied to that provider.
- Free first-year domain: WordPress.com includes one on annual paid plans, and most shared hosts do the same. Check the renewal price before you agree.
- Buy your own domain: a .com usually runs about $10 to $15 a year. At-cost registrars such as Cloudflare Registrar don't add a markup on renewals. This is the best long-term choice, because you can move your site between hosts without changing your address.
Outside the US, country domains like .co.uk, .ca and .com.au have their own registry prices and eligibility rules (.ca and .com.au, for example, require a local connection), so check with a local registrar.
When free hosting stops making sense
Free plans are designed for hobby use. Upgrade when any of these is true:
- The site earns money or represents a business. GitHub Pages and Vercel Hobby both rule this out, and ads on a WordPress.com free site look unprofessional to customers.
- You need WordPress plugins, a store or email on your own domain.
- Your traffic is growing. Netlify sites pause when credits run out, and you can't buy extra usage on Vercel Hobby.
- You need support or uptime guarantees. No free plan comes with a service-level agreement.
- You don't want to be a sysadmin. The Oracle route is free in money and expensive in time.
What paid hosting costs in 2026
| Upgrade path | Typical price | What you get |
|---|---|---|
| Shared hosting (WordPress, PHP sites) | About $2 to $4/mo intro, often $9 or more on renewal | cPanel or similar, email, one-click WordPress, free first-year domain on many plans |
| WordPress.com Personal / Premium | $4 / $8 a month billed annually | Custom domain, no ads (Premium adds more design and monetization tools) |
| Cloudflare Workers Paid | From $5/mo | Higher limits for server-side code, still no bandwidth fees |
| Netlify Personal / Pro | $9 / $20 a month | 1,000 or 3,000 credits, optional auto recharge |
| Vercel Pro | $20 per developer seat per month | Commercial use, 1 TB transfer, $20 usage credit |
| Managed VPS | Roughly $10 to $40/mo | Dedicated resources, root access, room for several sites |
For most small business websites, a good shared or managed WordPress host is the sensible next step. Watch the renewal price more than the intro price, since many hosts renew at three to six times the advertised rate. Our best web hosting for 2026 guide compares intro and renewal prices side by side.
FAQ
Can I really host a website for free forever?
Yes. GitHub Pages, Cloudflare Pages, Google Sites, WordPress.com Free and Oracle Cloud Always Free don't have a time limit. What can change is the provider's terms, so keep a copy of your files and avoid building anything critical on a free plan without a backup.
What is the best free hosting for a beginner?
If you don't want to write code, start with WordPress.com Free for a blog or Google Sites for a simple page. If you're comfortable uploading HTML files, GitHub Pages or Cloudflare Pages will give you a faster, ad-free site with your own domain.
Can I use a custom domain with free hosting?
On most options, yes. GitHub Pages, Cloudflare Pages, Netlify, Vercel and Google Sites all let you connect a domain you own, with free HTTPS on the static hosts. WordPress.com is the exception: custom domains require a paid plan.
Is free web hosting safe?
The big static hosts are very safe, because there's no server or database for attackers to break into, and they all provide HTTPS. The risk goes up with self-managed servers like Oracle Cloud, where you're responsible for updates and firewalls. Avoid obscure "free hosting" sites that inject ads or ask for unnecessary permissions.
Can I host a WordPress site on GitHub Pages or Cloudflare Pages?
Not directly, since WordPress needs PHP and a database and those hosts only serve static files. You can export a WordPress site to static HTML with a plugin and host that, but forms, comments and search will need third-party services.
Can I run an online store on free hosting?
Not well. GitHub Pages and Vercel Hobby rule out commercial use, and free site builders don't include checkout. A store needs secure payments and reliable uptime, so budget for a paid plan or a dedicated e-commerce platform.
Ready to move beyond free? Browse more guides in our web hosting, WordPress hosting and domains and DNS sections. If you already have a site and want it moved to better hosting without downtime, see our website migration and server setup services.
Sources: GitHub Pages limits, Cloudflare Pages limits, Netlify pricing, Vercel pricing, Vercel fair use guidelines, WordPress.com pricing, Google Sites custom domains, Oracle Cloud Always Free resources