Skip to content

Hosting & cloud · static site host

GitHub Pages

Hacker Approved

Free static site hosting on your own domain, with files easy to move elsewhere. Critics warn of domain abuse and phishing-like setups, and stale deploys.

Summarized from 122 comments.

Free static site hosting on your own domain, with files easy to move elsewhere. Critics warn of domain abuse and phishing-like setups, and stale deploys.

recommend
86
criticize
26
months recommended
12 of 13

Why people love it

  • Free hosting, including custom domains · 8

    GitHub Pages is free and allows you to use whatever domain you have already own. Almost all of the websites I run are hosted on GitHub Pages.

    Sep 2026 · comment

    it was free, it was accessible to people that couldn't spend money for a hosting provider

    Mar 2026 · comment

    I use GitHub Pages for free hosting and let them build things for me when I push updates

    Jan 2026 · comment
  • Easy to move away from · 4

    If you have a static site, you don't need to worry about lock-in, since your files are easily portable to a different provider.

    Aug 2026 · comment

    Connect it with your personal domain name in case later you want to run it somewhere else.

    Nov 2025 · comment

    Its agent independent and if github changes anything to this, i still have the code.

    Oct 2026 · comment
  • Simple setup and low maintenance · 5

    It's not complicated, it's tied to a git repo, it won't struggle if I ever get a popular post.

    Aug 2026 · comment

    GitHub Pages serving directly from a /docs folder makes it even simpler, no separate deploy

    Mar 2026 · comment

    That felt pretty simple when I was looking for a solution to this exact situation.

    Dec 2025 · comment
  • Reliable uptime and longevity · 3

    I can trust that Github Pages will have reasonable uptime, and I won't have to monitor it at all.

    Mar 2026 · comment

    A huge advantage of GH / CF is that your site has a strong chance of outliving you

    Jul 2026 · comment

    Github Pages is a git-backed “CMS” used by millions of people. It works fine.

    Dec 2025 · comment

What people warn about

  • Deploys sometimes stale or delayed · 2

    the problem is that GitHub frequently doesn't deploy updates to the pages

    Aug 2026 · comment

    I spent 30mins debugging why my Github Pages were serving old versions

    Jul 2026 · comment
  • Custom domain abuse and phishing · 5

    GitHub could solve this by making users verify they own a domain name by adding a value to a txt record

    May 2026 · comment

    I did not expect that Github facilitates other accounts creating scam pages under the domain I own

    May 2026 · comment

    It's phishy because it's breaks the rules people are generally told for avoiding phishing links

    Feb 2026 · comment
  • Dependence on a corporate host · 3

    Isn't publishing on Github Pages still posting to a corporate centrally owned entity

    Feb 2026 · comment

    The dependency on MS should be evaluated for you as user and for your visitors

    Nov 2025 · comment

    I don't think either using GitHub or hosting it on Github Pages respects

    Jan 2026 · comment
  • Missing headers and features · 2

    GitHub Pages still doesn't let you do this, although it's the third-most-upvoted feature request.

    Jan 2026 · comment

    they still haven't implemented custom headers in GitHub pages or custom mime types

    Apr 2026 · comment

What hackers pick instead

Every quote

The 40 most detailed of 122 comments. Each links to the original.

  1. GitHub Pages is free and allows you to use whatever domain you have already own. Almost all of the websites I run are hosted on GitHub Pages.

    Recommends · Sep 2026 · in “The Google Play app review process now regularly takes longer than a week”

  2. If you have a static site, you don't need to worry about lock-in, since your files are easily portable to a different provider.

    Recommends · Aug 2026 · in “99% of My Website Traffic Is Bots”

  3. I can trust that Github Pages will have reasonable uptime, and I won't have to monitor it at all.

    Recommends · Mar 2026 · in “Moving from GitHub to Codeberg, for lazy people”

  4. It's not complicated, it's tied to a git repo, it won't struggle if I ever get a popular post.

    Recommends · Aug 2026 · in “Blog about things you don't understand yet”

  5. GitHub Pages serving directly from a /docs folder makes it even simpler, no separate deploy

    Recommends · Mar 2026 · in “It's time to move your docs in the repo”

  6. Connect it with your personal domain name in case later you want to run it somewhere else.

    Recommends · Nov 2025 · in “Personal blogs are back, should niche blogs be next?”

  7. it was free, it was accessible to people that couldn't spend money for a hosting provider

    Mixed · Mar 2026 · in “Moving from GitHub to Codeberg, for lazy people”

  8. I use GitHub Pages for free hosting and let them build things for me when I push updates

    Mixed · Jan 2026 · in “Jeffgeerling.com has been Migrated to Hugo”

  9. Its agent independent and if github changes anything to this, i still have the code.

    Recommends · Oct 2026 · in “Sites in ChatGPT”

  10. GitHub Pages is free for public repos, which makes perfect sense for a public blog.

    Recommends · Jul 2026 · in “I joined the IndieWeb, here's what I learned”

  11. A huge advantage of GH / CF is that your site has a strong chance of outliving you

    Recommends · Jul 2026 · in “Hardcore IndieWeb: Run your own website 100% independently for only $0.01/day”

  12. That felt pretty simple when I was looking for a solution to this exact situation.

    Recommends · Dec 2025 · in “Trifold is a tool to quickly and cheaply host static websites using a CDN”

  13. free hosting with domains and ssl, no bills, and has good longevity and prospects

    Recommends · Jul 2026 · in “Hardcore IndieWeb: Run your own website 100% independently for only $0.01/day”

  14. All of the network traffic problems solved, easy to maintain and update and port.

    Recommends · Nov 2025 · in “Personal blogs are back, should niche blogs be next?”

  15. Hosting to GitHub Pages is free and easy for a project that is already on GitHub.

    Recommends · May 2026 · in “Show HN: Find the best local LLM for your hardware, ranked by benchmarks”

  16. GitHub Pages is a free hosting service that we are using to host StudioArt now

    Recommends · Dec 2025 · in “Popular platform, StudioArt gets open sourced due to web hosting issues,newsite”

  17. Github Pages is a git-backed “CMS” used by millions of people. It works fine.

    Recommends · Dec 2025 · in ““You should never build a CMS””

  18. There are many, many free hosts, like GitHub Pages, Cloudflare, Railway etc.

    Recommends · Jun 2026 · in “Apple announces significant price increases for MacBooks, iPads, more”

  19. github pages using the github editor to edit docs pretty much fits that bill

    Recommends · Sep 2026 · in “We have a year to fix security everywhere”

  20. the problem is that GitHub frequently doesn't deploy updates to the pages

    Mixed · Aug 2026 · in “99% of My Website Traffic Is Bots”

  21. your content is already sitting there as raw, standardized Markdown

    Recommends · Feb 2026 · in “A simple web we own”

  22. GitHub could solve this by making users verify they own a domain name by adding a value to a txt record

    Criticizes · May 2026 · in “My domain got abused on GitHub Pages”

  23. I did not expect that Github facilitates other accounts creating scam pages under the domain I own

    Criticizes · May 2026 · in “My domain got abused on GitHub Pages”

  24. GitHub Pages still doesn't let you do this, although it's the third-most-upvoted feature request.

    Criticizes · Jan 2026 · in “What Happened to WebAssembly”

  25. It's phishy because it's breaks the rules people are generally told for avoiding phishing links

    Criticizes · Feb 2026 · in “GitHub Agentic Workflows”

  26. Isn't publishing on Github Pages still posting to a corporate centrally owned entity

    Criticizes · Feb 2026 · in “A simple web we own”

  27. they still haven't implemented custom headers in GitHub pages or custom mime types

    Criticizes · Apr 2026 · in “In defense of GitHub's poor uptime”

  28. The dependency on MS should be evaluated for you as user and for your visitors

    Criticizes · Nov 2025 · in “Personal blogs are back, should niche blogs be next?”

  29. Why is securely setting up custom domains for github pages so error prone?

    Criticizes · May 2026 · in “My domain got abused on GitHub Pages”

  30. I don't think either using GitHub or hosting it on Github Pages respects

    Criticizes · Jan 2026 · in “Show HN: Prism.Tools – Free and privacy-focused developer utilities”

  31. I spent 30mins debugging why my Github Pages were serving old versions

    Criticizes · Jul 2026 · in “Incident with Pages GitHub”

  32. it weakens security posture, it trains users to ignore domain names

    Criticizes · Feb 2026 · in “GitHub Agentic Workflows”

  33. Putting static copies on Github Pages, Cloudflare Pages, and the Internet Archive would make pretty good odds it's preserved.

    Recommends · Jan 2026 · in “Ask HN: How to make my website exist for 100 years?”

  34. I've set two small businesses up on Claude design and GitHub pages (though they don't need to know about git or GitHub)

    Recommends · Sep 2026 · in “Automattic has a new board after failed attempt to put CEO on leave”

  35. Why not just have a post-commit hook render the current HEAD to static files, into something like GitHub Pages?

    Recommends · Dec 2025 · in “Package managers keep using Git as a database, it never works out”

  36. I also “preach” GitHub pages a lot but I’ve also written about hosting on a Raspberry Pi in my bedroom.

    Recommends · Jul 2026 · in “Hardcore IndieWeb: Run your own website 100% independently for only $0.01/day”

  37. objectively inferior and harder in every meaningful way compared to hosting for free on GitHub pages

    Recommends · May 2026 · in “Blog ran on Ubuntu 16.04 for 10 years. I migrated it to FreeBSD”

  38. is free forever and even lets you run GitHub Actions for free to operate a static site builder

    Recommends · Nov 2025 · in “Personal blogs are back, should niche blogs be next?”

  39. there are many 3p services which will display that site for free. GitHub pages, AWS free tier

    Recommends · Jun 2026 · in “Want your images back? Sure... That'll be $5!”

  40. or even plain GitHub Pages without a static site generator for the most "manual" experience.

    Recommends · Jun 2026 · in “Ask HN: Is WordPress the best way to create new websites for beginner”

Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake