🛠 Dev
How to Host a Website Free with GitHub Pages
GitHub Pages lets you host any static website directly from a GitHub repository — completely free, forever. Get a yourname.github.io subdomain or connect a custom domain with HTTPS included.
Eligibility
- ✓GitHub account (free for everyone)
- ✓Public repository (free) or private with GitHub Pro (free for students)
- ✓Static HTML, CSS, JS or a static site generator (Jekyll, Next.js export, Astro)
$200+/year
Step-by-Step Guide
- 1
Go to education.github.com
- 2
Verify your student status with .edu email
- 3
Get instant access to all partner offers
FAQ
Is GitHub Pages completely free?
Yes — GitHub Pages is free for all users with public repos. Students with GitHub Pro (free via Student Pack) also get GitHub Pages for private repos.
Can I use a custom domain with GitHub Pages?
Yes, custom domains are supported and free. Add a CNAME file to your repo and configure your domain's DNS. HTTPS is automatically provisioned via Let's Encrypt.
What frameworks work with GitHub Pages?
Anything that outputs static files: plain HTML/CSS/JS, Jekyll (built-in support), Next.js (static export), Astro, Hugo, Gatsby, and more.
More Dev Guides
How to Get JetBrains IDEs FreeHow to Get Docker Desktop FreeHow to Get the GitHub Student Developer PackHow to Get MongoDB Atlas FreeHow to Get Supabase Free CreditsHow to Get Sentry Free for OSSHow to Get 1Password Free as a StudentHow to Get Microsoft 365 Free for StudentsHow to Get a Free Domain as a Student