Live data from Hacker News

Ask HN: Cheapest/easiest way to host a static site?

news.ycombinator.com

91–100 of 507 posts

Re: Ask HN: Cheapest/easiest way to host a static site?

#91
post #59

Seconding the https://nearlyfreespeech.net suggestion. I used to be their customer and had absolutely no complaints. I have switched to BunnyCDN [1] a while back, also very happy with it. Pricing is extremely cheap, and has the added benefit of being able to cache anything dynamic you might add in the future. [1]: https://bunny.net/

Seconding BunnyCDN. I use it with https://lftp.yar.ru/ in reverse mirror mode to upload/update my generated public/ folder. Easy and cheap!

Re: Ask HN: Cheapest/easiest way to host a static site?

#94
post #89
post #62

Earlier quoted context omitted.

I discovered Netlify through Netlify CMS. I had a pretty bad opinion about Netlify CMS, so I was pretty sure Netlify was going to be at least as bad. Damn, I have never been so wrong: - the interface is so intuitive I never opened the documentation - this is FAST (the bottleneck to see my website live is now my browser cache) - no need to create a Github Actions pipeline to deploy, just say "hey, my repo is here" - a…

My favorite feature is automatic deployment of pull requests. I love it, and I wish there was something as cheap and easy for backend services as well. Though I guess it's not too necessary if you implement testing properly :p

LayerCI[1] maybe?

[1] - https://layerci.com/

Re: Ask HN: Cheapest/easiest way to host a static site?

#96

GitHub Pages or Netlify for sure. With either of these options, your static site can be set up to deploy whenever there's new commits to the specified branch. Me and a friend mentor for Code Louisville, and we're able to get the beginner frontend students up and running very quickly using these options - they're free and much easier to use.

I see the "GitHub Pages" suggested a lot whenever this question comes up, but it's worth noting that it's against their ToS[0] to use it for commercial purposes:

"GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS)."

So it's great if you want to host a personal site / blog or some other non-revenue-generating website, but for anything more than that you could run into issues.

[0] https://docs.github.com/en/github/working-with-github-pages/...

Re: Ask HN: Cheapest/easiest way to host a static site?

#97
post #93

Netlify! I use it for holding pages for client websites. Quick upload of a folder containing an index.html and a stylesheet and off you go.

Netlify also provides an endpoint to deploy a new version with a single HTTP POST of a zip file if you ever want to start scripting deploys.
Post reply on HN