Aral Code

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

WordMeaning
HostingA service that stores your website files and sends them to visitors
DomainYour website's name, like example.com or myschool.edu.ph
URLA full address of one page, like https://example.com/about.html
HTTPSA secure connection, shown by the lock icon. Free hosts include it.
Static siteA site made of ready files (HTML, CSS, images) — exactly what you've been building

Before you publish: a checklist

  1. Your homepage is named index.html.
  2. All files are inside one project folder, with images in a subfolder.
  3. File names are lowercase, with no spaces.
  4. All paths are relative (images/logo.png), not C:\Users\....
  5. Every page has a unique <title> and the viewport meta tag.
  6. You clicked every link and checked every image.
  7. 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.

  1. 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.)
  2. Create a new repository (a project folder), for example my-website. Make it Public.
  3. Click Add file → Upload files, and drag in everything from your project folder. Click Commit changes.
  4. Go to Settings → Pages. Under "Branch," choose main and click Save.
  5. 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.

  1. Go to app.netlify.com/drop.
  2. Drag your whole project folder onto the page.
  3. In seconds you get a live address like https://something-random.netlify.app.
  4. 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. 🙂

1. What should the homepage file be named?
2. What is a domain?
3. You updated your site but still see the old version. What should you try?
4. Which of these should NOT be on a public school project site?

By Sir Reyel · Last updated 2026-12-04