Build and host a website in 2 hours, free
A simple, fast personal or small-business site on free hosting. No coding background needed; you copy a skeleton and fill your own words.
Time≈ 2 hours
Cost₹0 (optional .in domain ≈ ₹700–1,000 a year)
Steps
110 min
Decide the one job of the site
Who is it for and what should they do: call, WhatsApp, see your work? Write 4 sections in your notes app first: who you are, what you offer, proof, contact.
215 min
Make two files
Create a folder with index.html and style.css. Start from MDN's basic HTML page structure. Keep one column; it works on every phone.
330 min
Fill the sections
Header with your name or brand, About, Work or Services (3 cards), Contact with a mailto: and a WhatsApp link. Write short lines; one idea each.
415 min
Add light images
Compress every image under 200 KB with KitWale's image compressor and add alt text that describes it.
515 min
Put it on GitHub
Create a free GitHub account and a public repository. Use 'Add file → Upload files' in the browser; you don't need Git on your laptop.
610 min
Switch on GitHub Pages
Repository Settings → Pages → Deploy from a branch → main / root. In a minute your site is live at username.github.io/repo.
710 min
Test on a real phone
Open it on mobile data. Check text size, buttons and links. Fix, upload again; Pages updates in about a minute.
815 min (optional)
Use your own domain
Buy a .in domain, add it under Pages → Custom domain, follow GitHub's DNS steps and tick Enforce HTTPS. For a shop or SaaS, use Cloudflare Pages instead (GitHub Pages isn't for commercial sites).
Free tools used
- Any text editor (VS Code is free)
- GitHub + GitHub Pages (free)
- Cloudflare Pages (free, if commercial)
- KitWale image compressor
- KitWale colour contrast checker
Common mistakes
- Photos straight from the phone (5 MB each): the site crawls on mobile data.
- No clear contact button on the first screen.
- Copying a paid template or someone's photos without a licence.
- Putting passwords or API keys in a public repository.
- Running an online shop on GitHub Pages: its terms don't allow commercial sites.
Watch
Video 23:53 Free English
Checked 6 Dec
HTML Full Course - Build a Website Tutorial ↗
freeCodeCamp.org
Video 2:02:31 Free English
Checked 6 Dec
Video 2:06:00 Free Hindi
Checked 6 Dec
Go deeper (free courses + docs)
Official policy Free English
Checked 6 Dec
Related KitWale tools
Image compress to KBCompress a photo to under X KB for any form, on your phone
QR code makerText or link to a QR code that never expires
On Founder Wale Lessons
Every guide gets a matching FWL Short; the Short's pinned comment links back here.
This guide as a carousel (auto-made from the steps; posted on FWL Instagram and LinkedIn)