Live data from Hacker News

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

news.ycombinator.com

241–250 of 507 posts

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

#241

I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…

Cloudflare wouldn't work well for me. Filling a captcha everytime to have a page load is stupid.

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

#242
post #162

I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…

The feature that made me change from github pages to netlify was 302s. Cloudflare pages doesn't seem to have that.

Stay tuned. Lots of these Cloudflare Page niddles getting fixed in a few weeks.

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

#243

I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…

> […] Github Pages. I'm kind of surprised the latter charges you for custom domains

What do you mean by that? I've been (and still am) hosting quite a few pages with their service using custom domains and have never been charged for that.

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

#244

Earlier quoted context omitted.

GitHub allows business websites, AFAIK. Where did you get the notion, that it does not?

https://docs.github.com/en/github/working-with-github-pages/... "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)." Now one could read that as "don't build a SaaS on top of GitHub Pages", bu…

That wording specifically disallows both commercial sites and SaaS, so it should be read as both "don't build a SaaS on top of GitHub Pages" and "don't have business websites on GitHub Pages"

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

#247

Earlier quoted context omitted.

You are limited to one *.neocities.org site, otherwise it's $60 per year.

I have unlimited neocities subdomains and pay $0 a year. I must be on a discontinued plan, but at one time there was a $100 lifetime offer.

Sounds like the perfect plan. How many of the companies mentioned in this thread will be around in 10 years? I'd bet on neocities.

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

#249
That depends on what kind of static site it is. Is it for a business or making a business impression? Then I don't know.

But if it's for personal use then the easiest is to simply install nginx from your repos on your home computer and put html and media files in directories. Then forward port 80 on your router to the IP of the computer. nginx serving static is not going to be a risk. It's extremely simple. And having everything on your local computer makes it easy to share and very fast to iterate.

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

#250
post #55

I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83

Cheapest however, is out the window. I mean, if there's a chance, however remote, that you might end up as the #1 of reddit or whatever, stay away from S3. Your site won't go down, but oh god, you pay for that.

How much though? And stick it behind CloudFront. The Free tier is 50GB and 2,000,000 requests.

https://aws.amazon.com/cloudfront/pricing/

Post reply on HN