[{"data":1,"prerenderedAt":539},["ShallowReactive",2],{"blog-en-host-an-html-website-for-free":3,"blog-related-\u002Fblog\u002Fen\u002Fhost-an-html-website-for-free":530},{"id":4,"title":5,"author":6,"body":7,"cover":514,"date":515,"description":516,"draft":517,"extension":518,"featured":517,"meta":519,"navigation":520,"path":521,"rawbody":522,"seo":523,"seoDescription":514,"seoTitle":524,"stem":525,"tags":526,"__hash__":529},"blog\u002Fblog\u002Fen\u002Fhost-an-html-website-for-free.md","How to host an HTML website for free","Kitbase",{"type":8,"value":9,"toc":502},"minimark",[10,14,23,28,31,58,69,78,98,118,122,125,172,179,182,185,189,192,251,257,260,264,267,287,290,294,389,392,396,406,442,445,449,452,478,482],[11,12,13],"p",{},"A site made of HTML, CSS and a few images doesn't need a server, a database or a monthly plan. It's a folder of files, and several companies will serve that folder to the world for free, with HTTPS and a fast global network included.",[11,15,16,17,22],{},"This guide covers the three hosts worth using in 2026, what to check before you upload, and how to connect your own domain. Every ",[18,19,21],"a",{"href":20},"\u002Fthemes","Kitbase theme"," is a plain HTML and CSS site, so the steps below work for all of them.",[24,25,27],"h2",{"id":26},"before-you-upload-check-the-folder","Before you upload: check the folder",[11,29,30],{},"Most \"my site is broken after upload\" problems come from the folder, not the host. Spend two minutes on this first.",[11,32,33,42,43,45,46,49,50,54,55,57],{},[34,35,36,37,41],"strong",{},"1. ",[38,39,40],"code",{},"index.html"," must sit at the top of the folder."," The host opens ",[38,44,40],{}," when someone visits your address. If it's buried in a subfolder (",[38,47,48],{},"my-site\u002Fsite\u002Findex.html","), visitors get a 404. Upload the folder that ",[51,52,53],"em",{},"directly"," contains ",[38,56,40],{},".",[11,59,60,61,64,65,68],{},"A Kitbase archive has two versions inside: ",[38,62,63],{},"site\u002F"," (the finished demo with photos) and ",[38,66,67],{},"template\u002F"," (the same design with placeholders). Upload one of those folders, not the archive's top folder.",[11,70,71,74,75,77],{},[34,72,73],{},"2. Open the site locally."," Double-click ",[38,76,40],{}," and click through every page. If a page or image is missing here, it will be missing online too.",[11,79,80,83,84,87,88,91,92,94,95,97],{},[34,81,82],{},"3. Watch the capital letters."," Windows and macOS don't care whether a file is called ",[38,85,86],{},"About.html"," or ",[38,89,90],{},"about.html",". Web servers do. If a link says ",[38,93,90],{}," but the file is ",[38,96,86],{},", the link works on your computer and fails online. Lowercase file names avoid the whole problem.",[11,99,100,103,104,87,107,110,111,87,114,117],{},[34,101,102],{},"4. Use relative paths."," Links like ",[38,105,106],{},"css\u002Fstyle.css",[38,108,109],{},"images\u002Fhero.jpg"," work everywhere. Paths that start with ",[38,112,113],{},"C:\\",[38,115,116],{},"file:\u002F\u002F"," only work on your machine.",[24,119,121],{"id":120},"option-1-cloudflare-pages-our-pick","Option 1: Cloudflare Pages (our pick)",[11,123,124],{},"Cloudflare Pages is what we use for kitbase.design. The free plan has no bandwidth limit, so a post that suddenly gets popular won't cost you anything or take the site down.",[126,127,128,138,157,163],"ol",{},[129,130,131,132,57],"li",{},"Create a free account at ",[18,133,137],{"href":134,"rel":135},"https:\u002F\u002Fdash.cloudflare.com\u002Fsign-up",[136],"nofollow","dash.cloudflare.com",[129,139,140,141,144,145,148,149,152,153,156],{},"Open ",[34,142,143],{},"Workers & Pages"," and click ",[34,146,147],{},"Create",". Choose the ",[34,150,151],{},"Pages"," tab, then ",[34,154,155],{},"Upload assets"," (sometimes labelled \"Drag and drop your files\").",[129,158,159,160,57],{},"Give the project a name. It becomes your address: ",[38,161,162],{},"my-studio.pages.dev",[129,164,165,166,168,169,57],{},"Drag in your site folder (the one with ",[38,167,40],{},") and click ",[34,170,171],{},"Deploy site",[11,173,174,175,178],{},"About a minute later the site is live. To publish changes, open the project, click ",[34,176,177],{},"Create new deployment"," and upload the folder again. Older versions are kept, so you can roll back with one click.",[11,180,181],{},"The free plan allows up to 20,000 files per site and 25 MB per file. A typical theme has a few hundred files, so you're far below both.",[11,183,184],{},"If you later keep the site in a GitHub repository, Cloudflare can publish it automatically on every change. That's how kitbase.design itself is deployed.",[24,186,188],{"id":187},"option-2-github-pages","Option 2: GitHub Pages",[11,190,191],{},"GitHub Pages is a good fit if you already use GitHub or want your site's history in version control.",[126,193,194,209,226],{},[129,195,131,196,201,202,205,206,57],{},[18,197,200],{"href":198,"rel":199},"https:\u002F\u002Fgithub.com",[136],"github.com"," and a new ",[34,203,204],{},"public"," repository, e.g. ",[38,207,208],{},"my-studio",[129,210,211,212,215,216,219,220,222,223,57],{},"Click ",[34,213,214],{},"Add file → Upload files"," and drag in the ",[51,217,218],{},"contents"," of your site folder, so ",[38,221,40],{}," ends up at the top of the repository. Click ",[34,224,225],{},"Commit changes",[129,227,140,228,231,232,235,236,239,240,243,244,247,248,57],{},[34,229,230],{},"Settings → Pages",". Under ",[34,233,234],{},"Build and deployment",", choose ",[34,237,238],{},"Deploy from a branch",", pick ",[38,241,242],{},"main"," and ",[38,245,246],{},"\u002F (root)",", then ",[34,249,250],{},"Save",[11,252,253,254,57],{},"After a minute or two the site is at ",[38,255,256],{},"your-username.github.io\u002Fmy-studio",[11,258,259],{},"The site should stay under 1 GB, and GitHub suggests about 100 GB of traffic a month. On a free account the repository has to be public, so anyone can see your files. For a public website that's usually fine, but don't put private notes or passwords in it.",[24,261,263],{"id":262},"option-3-netlify-drop","Option 3: Netlify Drop",[11,265,266],{},"Netlify has the quickest start of the three: no project setup, just a page where you drop a folder.",[126,268,269,277,280],{},[129,270,271,272,57],{},"Go to ",[18,273,276],{"href":274,"rel":275},"https:\u002F\u002Fapp.netlify.com\u002Fdrop",[136],"app.netlify.com\u002Fdrop",[129,278,279],{},"Drag your site folder onto the page.",[129,281,282,283,286],{},"You get a random address like ",[38,284,285],{},"jolly-otter-12ab34.netlify.app"," right away. Sign up (free) to keep the site and give it a better name.",[11,288,289],{},"Netlify's free plan comes with a monthly usage allowance. For a small business or portfolio site that's plenty, but if a page goes viral the site can pause until the next month. If you expect heavy traffic, Cloudflare Pages is the safer choice.",[24,291,293],{"id":292},"which-one-should-you-pick","Which one should you pick?",[295,296,297,315],"table",{},[298,299,300],"thead",{},[301,302,303,306,309,312],"tr",{},[304,305],"th",{},[304,307,308],{},"Cloudflare Pages",[304,310,311],{},"GitHub Pages",[304,313,314],{},"Netlify",[316,317,318,331,351,365,377],"tbody",{},[301,319,320,324,327,329],{},[321,322,323],"td",{},"Upload in the browser",[321,325,326],{},"Yes",[321,328,326],{},[321,330,326],{},[301,332,333,336,341,346],{},[321,334,335],{},"Free address",[321,337,338],{},[38,339,340],{},"name.pages.dev",[321,342,343],{},[38,344,345],{},"user.github.io\u002Frepo",[321,347,348],{},[38,349,350],{},"name.netlify.app",[301,352,353,356,359,362],{},[321,354,355],{},"Bandwidth",[321,357,358],{},"No limit",[321,360,361],{},"~100 GB \u002F month",[321,363,364],{},"Monthly allowance",[301,366,367,370,373,375],{},[321,368,369],{},"Own domain + HTTPS",[321,371,372],{},"Free",[321,374,372],{},[321,376,372],{},[301,378,379,382,384,387],{},[321,380,381],{},"Files can be private",[321,383,326],{},[321,385,386],{},"No (free plan)",[321,388,326],{},[11,390,391],{},"If you're unsure, start with Cloudflare Pages. It's free without traffic worries, and moving later is easy: it's the same folder on any host.",[24,393,395],{"id":394},"add-your-own-domain","Add your own domain",[11,397,398,399,87,402,405],{},"A free ",[38,400,401],{},".pages.dev",[38,403,404],{},".github.io"," address is fine for testing, but a business site looks more trustworthy on its own domain. Domains cost roughly €10 to €15 a year from registrars such as Cloudflare, Namecheap or Porkbun.",[407,408,409,423,433],"ul",{},[129,410,411,414,415,418,419,422],{},[34,412,413],{},"Cloudflare Pages:"," open the project → ",[34,416,417],{},"Custom domains"," → ",[34,420,421],{},"Set up a custom domain",". If the domain is already on Cloudflare, the DNS records are created for you.",[129,424,425,428,429,432],{},[34,426,427],{},"GitHub Pages:"," ",[34,430,431],{},"Settings → Pages → Custom domain",". Then add the DNS records GitHub shows at your registrar.",[129,434,435,428,438,441],{},[34,436,437],{},"Netlify:",[34,439,440],{},"Domain management → Add a domain",", then follow the DNS steps.",[11,443,444],{},"HTTPS (the padlock) is set up automatically on all three, usually within minutes. If the domain doesn't load right away, wait an hour: DNS changes take a while to reach every network.",[24,446,448],{"id":447},"what-about-contact-forms","What about contact forms?",[11,450,451],{},"A static host serves files but doesn't process forms, so a contact form on its own won't send you anything. Two easy fixes:",[407,453,454,468],{},[129,455,456,459,460,463,464,467],{},[34,457,458],{},"Netlify Forms:"," on Netlify, add ",[38,461,462],{},"data-netlify=\"true\""," to the ",[38,465,466],{},"\u003Cform>"," tag and messages appear in your dashboard.",[129,469,470,473,474,477],{},[34,471,472],{},"A form service"," such as Formspree or Web3Forms: you point the form's ",[38,475,476],{},"action"," at their address, and they email you each message. Most have a free tier for low volume.",[24,479,481],{"id":480},"where-to-start","Where to start",[11,483,484,485,488,489,493,494,498,499,501],{},"Pick a design from the ",[18,486,487],{"href":20},"free themes",", for example the dark ",[18,490,492],{"href":491},"\u002Ftheme\u002Fossa","Ossa"," for a physio studio or the calm ",[18,495,497],{"href":496},"\u002Ftheme\u002Fnightjar","Nightjar"," for a sleep clinic. Change the text and photos in the ",[38,500,67],{}," folder, then upload it to one of the hosts above. Your site can be live within the hour, and it won't cost you a cent.",{"title":503,"searchDepth":504,"depth":504,"links":505},"",2,[506,507,508,509,510,511,512,513],{"id":26,"depth":504,"text":27},{"id":120,"depth":504,"text":121},{"id":187,"depth":504,"text":188},{"id":262,"depth":504,"text":263},{"id":292,"depth":504,"text":293},{"id":394,"depth":504,"text":395},{"id":447,"depth":504,"text":448},{"id":480,"depth":504,"text":481},null,"2026-11-29","Three free hosts for a plain HTML and CSS site: Cloudflare Pages, GitHub Pages and Netlify. Step-by-step setup and how to add your own domain.",false,"md",{},true,"\u002Fblog\u002Fen\u002Fhost-an-html-website-for-free","---\ntitle: How to host an HTML website for free\ndescription: \"Three free hosts for a plain HTML and CSS site: Cloudflare Pages, GitHub Pages and Netlify. Step-by-step setup and how to add your own domain.\"\nseoTitle: How to Host an HTML Website for Free (2026 Guide)\ntags:\n  - Guides\n  - Hosting\ndate: \"2026-11-29\"\n---\n\nA site made of HTML, CSS and a few images doesn't need a server, a database or a monthly plan. It's a folder of files, and several companies will serve that folder to the world for free, with HTTPS and a fast global network included.\n\nThis guide covers the three hosts worth using in 2026, what to check before you upload, and how to connect your own domain. Every [Kitbase theme](\u002Fthemes) is a plain HTML and CSS site, so the steps below work for all of them.\n\n## Before you upload: check the folder\n\nMost \"my site is broken after upload\" problems come from the folder, not the host. Spend two minutes on this first.\n\n**1. `index.html` must sit at the top of the folder.** The host opens `index.html` when someone visits your address. If it's buried in a subfolder (`my-site\u002Fsite\u002Findex.html`), visitors get a 404. Upload the folder that *directly* contains `index.html`.\n\nA Kitbase archive has two versions inside: `site\u002F` (the finished demo with photos) and `template\u002F` (the same design with placeholders). Upload one of those folders, not the archive's top folder.\n\n**2. Open the site locally.** Double-click `index.html` and click through every page. If a page or image is missing here, it will be missing online too.\n\n**3. Watch the capital letters.** Windows and macOS don't care whether a file is called `About.html` or `about.html`. Web servers do. If a link says `about.html` but the file is `About.html`, the link works on your computer and fails online. Lowercase file names avoid the whole problem.\n\n**4. Use relative paths.** Links like `css\u002Fstyle.css` or `images\u002Fhero.jpg` work everywhere. Paths that start with `C:\\` or `file:\u002F\u002F` only work on your machine.\n\n## Option 1: Cloudflare Pages (our pick)\n\nCloudflare Pages is what we use for kitbase.design. The free plan has no bandwidth limit, so a post that suddenly gets popular won't cost you anything or take the site down.\n\n1. Create a free account at [dash.cloudflare.com](https:\u002F\u002Fdash.cloudflare.com\u002Fsign-up).\n2. Open **Workers & Pages** and click **Create**. Choose the **Pages** tab, then **Upload assets** (sometimes labelled \"Drag and drop your files\").\n3. Give the project a name. It becomes your address: `my-studio.pages.dev`.\n4. Drag in your site folder (the one with `index.html`) and click **Deploy site**.\n\nAbout a minute later the site is live. To publish changes, open the project, click **Create new deployment** and upload the folder again. Older versions are kept, so you can roll back with one click.\n\nThe free plan allows up to 20,000 files per site and 25 MB per file. A typical theme has a few hundred files, so you're far below both.\n\nIf you later keep the site in a GitHub repository, Cloudflare can publish it automatically on every change. That's how kitbase.design itself is deployed.\n\n## Option 2: GitHub Pages\n\nGitHub Pages is a good fit if you already use GitHub or want your site's history in version control.\n\n1. Create a free account at [github.com](https:\u002F\u002Fgithub.com) and a new **public** repository, e.g. `my-studio`.\n2. Click **Add file → Upload files** and drag in the *contents* of your site folder, so `index.html` ends up at the top of the repository. Click **Commit changes**.\n3. Open **Settings → Pages**. Under **Build and deployment**, choose **Deploy from a branch**, pick `main` and `\u002F (root)`, then **Save**.\n\nAfter a minute or two the site is at `your-username.github.io\u002Fmy-studio`.\n\nThe site should stay under 1 GB, and GitHub suggests about 100 GB of traffic a month. On a free account the repository has to be public, so anyone can see your files. For a public website that's usually fine, but don't put private notes or passwords in it.\n\n## Option 3: Netlify Drop\n\nNetlify has the quickest start of the three: no project setup, just a page where you drop a folder.\n\n1. Go to [app.netlify.com\u002Fdrop](https:\u002F\u002Fapp.netlify.com\u002Fdrop).\n2. Drag your site folder onto the page.\n3. You get a random address like `jolly-otter-12ab34.netlify.app` right away. Sign up (free) to keep the site and give it a better name.\n\nNetlify's free plan comes with a monthly usage allowance. For a small business or portfolio site that's plenty, but if a page goes viral the site can pause until the next month. If you expect heavy traffic, Cloudflare Pages is the safer choice.\n\n## Which one should you pick?\n\n| | Cloudflare Pages | GitHub Pages | Netlify |\n|---|---|---|---|\n| Upload in the browser | Yes | Yes | Yes |\n| Free address | `name.pages.dev` | `user.github.io\u002Frepo` | `name.netlify.app` |\n| Bandwidth | No limit | ~100 GB \u002F month | Monthly allowance |\n| Own domain + HTTPS | Free | Free | Free |\n| Files can be private | Yes | No (free plan) | Yes |\n\nIf you're unsure, start with Cloudflare Pages. It's free without traffic worries, and moving later is easy: it's the same folder on any host.\n\n## Add your own domain\n\nA free `.pages.dev` or `.github.io` address is fine for testing, but a business site looks more trustworthy on its own domain. Domains cost roughly €10 to €15 a year from registrars such as Cloudflare, Namecheap or Porkbun.\n\n- **Cloudflare Pages:** open the project → **Custom domains** → **Set up a custom domain**. If the domain is already on Cloudflare, the DNS records are created for you.\n- **GitHub Pages:** **Settings → Pages → Custom domain**. Then add the DNS records GitHub shows at your registrar.\n- **Netlify:** **Domain management → Add a domain**, then follow the DNS steps.\n\nHTTPS (the padlock) is set up automatically on all three, usually within minutes. If the domain doesn't load right away, wait an hour: DNS changes take a while to reach every network.\n\n## What about contact forms?\n\nA static host serves files but doesn't process forms, so a contact form on its own won't send you anything. Two easy fixes:\n\n- **Netlify Forms:** on Netlify, add `data-netlify=\"true\"` to the `\u003Cform>` tag and messages appear in your dashboard.\n- **A form service** such as Formspree or Web3Forms: you point the form's `action` at their address, and they email you each message. Most have a free tier for low volume.\n\n## Where to start\n\nPick a design from the [free themes](\u002Fthemes), for example the dark [Ossa](\u002Ftheme\u002Fossa) for a physio studio or the calm [Nightjar](\u002Ftheme\u002Fnightjar) for a sleep clinic. Change the text and photos in the `template\u002F` folder, then upload it to one of the hosts above. Your site can be live within the hour, and it won't cost you a cent.\n",{"title":5,"description":516},"How to Host an HTML Website for Free (2026 Guide)","blog\u002Fen\u002Fhost-an-html-website-for-free",[527,528],"Guides","Hosting","OidDMjtP8cwA1uuQiWfsTxIDmqH3emOOUN3Y6o5kXW0",[531],{"locale":532,"slug":533,"title":534,"description":535,"cover":514,"tags":536,"author":6,"date":515,"readingMinutes":538},"en","turn-a-theme-into-your-own-site-with-claude-code","Turn a free theme into your own site with Claude Code","Take a Kitbase theme, give it your brand and rebuild it in React, Vue or Nuxt with Claude Code. A step-by-step guide with ready-made prompts.",[527,537],"Claude Code",5,1795950803928]