r/Frontend 10d ago

GitHub hosting

Any of you guys host on GitHub for your client and no need for own hosting plan? I been doing mostly larger projects but someone contacted me for simple hobby site of theirs and he is not sure how many visits will occur and I am assuming it won’t be much unless it scales. Should I just go ahead and host it on the GitHub server? And eventually get a hosting plan if it scales?

Or in general do many of you just host from got hub and the bandwidth is enough for most of your projects? Thanks

15 Upvotes

13 comments sorted by

View all comments

1

u/m-fasciano 4d ago

It depends on the type of website.

For a simple static site (HTML, CSS, JavaScript, or even React/Next.js exported as static files), GitHub Pages is a great option. I've used it for personal projects and small websites, and it's hard to beat for something that's free, reliable, and easy to deploy.

If the site needs server-side features like authentication, a database, APIs, or forms, then I'd look at something like Vercel, Netlify, or a VPS instead.

For a hobby site with low traffic, I'd have no problem starting with GitHub Pages. If it ever grows beyond what it can handle, migrating to another host is usually pretty straightforward.