Going Further Lesson 40 of 42
Putting Your Website Online for Free
How to publish an HTML website for free using GitHub Pages or Netlify, what domains and hosting are, and a checklist before you share your site.
Your HTML files work on your computer, but nobody else can see them yet. To share your site with classmates, your teacher or the whole world, you need to put the files on a web server — a computer that's always connected to the internet. This is called hosting or publishing. For simple HTML sites, it can be completely free.
A few words to know
| Word | Meaning |
|---|---|
| Hosting | A service that stores your website files and sends them to visitors |
| Domain | Your website's name, like example.com or myschool.edu.ph |
| URL | A full address of one page, like https://example.com/about.html |
| HTTPS | A secure connection, shown by the lock icon. Free hosts include it. |
| Static site | A site made of ready files (HTML, CSS, images) — exactly what you've been building |
Before you publish: a checklist
- Your homepage is named index.html.
- All files are inside one project folder, with images in a subfolder.
- File names are lowercase, with no spaces.
- All paths are relative (
images/logo.png), notC:\Users\.... - Every page has a unique
<title>and the viewport meta tag. - You clicked every link and checked every image.
- There's no private information: no home address, phone numbers, passwords, or photos of other people without permission.
Option 1: GitHub Pages
GitHub is where programmers around the world store and share code. Its free GitHub Pages feature turns a code folder into a website. It's a great skill to learn because GitHub is used in almost every software job.
- Create a free account at github.com. (Check the age rules in GitHub's terms; younger students may need a parent or teacher to help.)
- Create a new repository (a project folder), for example
my-website. Make it Public. - Click Add file → Upload files, and drag in everything from your project folder. Click Commit changes.
- Go to Settings → Pages. Under "Branch," choose main and click Save.
- Wait a minute or two. Your site appears at
https://your-username.github.io/my-website/.
Option 2: Netlify Drop
Netlify has a very fast option: drag and drop.
- Go to app.netlify.com/drop.
- Drag your whole project folder onto the page.
- In seconds you get a live address like
https://something-random.netlify.app. - Create a free account to keep the site and choose a nicer name.
Other free hosts that work the same way include Vercel and Cloudflare Pages. Any of them is fine for a school project.
Updating your site
Published a typo? No problem. Fix it on your computer, then:
- GitHub: upload the changed file again (it replaces the old one) and commit.
- Netlify: drag the folder again into your site's Deploys page.
If you don't see the change, your browser might be showing a saved (cached) copy. Do a hard refresh: Ctrl + Shift + R (or Cmd + Shift + R on Mac).
Getting your own domain (optional)
Free hosts give you an address under their name. If you want your own, like juandelacruz.com, you can buy a domain from a domain registrar. Prices depend on the ending (.com, .net, .ph, .com.ph) and are usually paid every year. Most hosts have a "Custom domain" setting that guides you through connecting it. For school projects, the free address is completely fine.
Helping people find your site
- Share the link in your class group chat or on your social media.
- Write useful content with clear titles and headings — that's how search engines decide what a page is about.
- For a bigger project, register your site in Google Search Console (free) to see whether Google has found your pages.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04