Live data from Hacker News

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

news.ycombinator.com

311–320 of 507 posts

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

#311

Azure Static Web Apps is free at the minute, and I've heard the pricing will be very reasonable once it comes out of preview (in the cents/pennies probably unless you're really popular!) https://azure.microsoft.com/en-gb/services/app-service/stati... Would recommend giving it a bash, or you could deploy it manually with Azure Blob Storage Websites and a simple deployment CI pipeline.

With Github Actions the CI more or less "just works".

With free private repos and that kind of integration it's a pretty neat setup.

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

#314
post #117

Earlier quoted context omitted.

The in-between days (after dial-up ISPs, but before "cloud" meant people forgot they could do things themselves) was to host the website on your own computer. For example, an old laptop, a Raspberry Pi, or an always-on-anyway desktop. I host my personal site this way. I also host about 100 mostly-static mostly-low-use websites at work similarly: with Apache on a couple of VMs. They are more reliable than the free ver…

I'm not sure how you do this unless you have a static IP somehow? In my experience ISPs don't offer that to residential clients

In my experience IP addresses rarely change from under you. There has to be actual noticeable outage of service. But in that case you can just use any of the free dynamic dns services. Back in the day I didn’t even have proper domain name I just used dyndns

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

#315

Earlier quoted context omitted.

I actually just went the other way. I found CF is a bit too aggressive with anti-DDOS measures, and the page would not work sometimes in Safari with default settings. The default setup for GH Pages is not great. Jekyll is very dated. But if you use GH Actions, you can build yourself a pretty great setup. My site is open source at https://github.com/jacobp100/jacob-does-code - there's also a blog post about how the bu…

> I found CF is a bit too aggressive with anti-DDOS measures As someone who does a lot of browsing with unpopular web browsers, Cloudflare is basically a way to ensure that it is a coin toss as to whether or not I will see your site; it is not the worst CDN/DoS protection racket service out there though. I would like to see how much legitimate traffic Cloudflare or the others block, and how much website operators are…

This is something that is configurable though. If you leave your Firewall security mode to default, then yes it will block IPs with bad rep.

If I don't care about anti-ddos, I just set the Firewall security to Low, and create a Firewall rule to allow everything from 0.0.0.0/0, simple as that.

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

#316
post #288

Earlier quoted context omitted.

I use both pages.dev and netlify.com: pages.dev, even in open beta, is a fantastic product if it suits all your needs, but the limitations [0], if you hit them, are a dead-end and there are no ETAs as to when some of those limitations would be addressed. That is not the case with netlify.com which boasts a myriad of features, is equally as fast, production-ready, and competitively priced. With pages.dev, I believe, y…

> With pages.dev, I believe, you pay per every domain you host nope, we do unlimited sites on pages! here's the free plan [1]: > 1 build at a time > 500 builds per month > Unlimited sites > Unlimited requests > Unlimited bandwidth you can upgrade to the pro ($20/mo) or business ($200/mo) plans for more concurrent builds and builds per month. still not priced per domain or site! [1]: https://pages.cloudflare.com/#pric…

Thanks.

> ...still not priced per domain or site!

It was my understanding that I had to upgrade each domain to "pro" with $20/month (say, if I wanted pro features like web-analytics on each). Is that not the case?

On netlify.com, "pro" is $19/month per account (not per domain).

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

#317
post #174
post #28

I use https://nearlyfreespeech.net for my static site. It isn't free -- it is pretty cheap -- but it has a lot going for it. It requires no custom tooling -- I upload via rsync. This makes it trivial to migrate to a new provider if necessary. I develop my site locally, then rsync it up. I have a custom domain pointed at the site, and also a custom .htaccess, so I have a good amount of control over the site. I do thin…

I also used/loved NFSN, but I have a habit of neglecting pages for years. I have had more than one site go dark for months before I realized they’d run out of budget. Now I use GH pages so I don’t have to think about it. If you’re actively updating (or just better organized), NFSN is a good choice

I came to post the same. NFS does have some email alerts, but if you leave something on NFS and then forget to add funds you may lose it. That happened to me, and I decided never to use them again, because at the end of the day I’d much rather have infrastructure bill me and stay online than require pre-payment and die when the funds run out.

But if you’re sure you’ll never forget to top off your account balance, NFS is okay.

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

#319

Earlier quoted context omitted.

I use both pages.dev and netlify.com: pages.dev, even in open beta, is a fantastic product if it suits all your needs, but the limitations [0], if you hit them, are a dead-end and there are no ETAs as to when some of those limitations would be addressed. That is not the case with netlify.com which boasts a myriad of features, is equally as fast, production-ready, and competitively priced. With pages.dev, I believe, y…

How do you know that Netlify is production ready? I found Netlify Identity to not be production ready* and now I'm not so sure about the rest of the platform. * Three reasons. 1) The identity widget has people setting it up in such a way that tokens aren't refreshed and logins last only an hour. https://github.com/netlify/netlify-identity-widget/issues/11... 2) Netlify Identity keeps bumping me out despite having gon…

> How do you know that Netlify is production ready?

I meant in a way that pages.dev is in "open beta" and netlify.com don't market themselves as such.

Besides, in my personal experience, I never hit any issue with netlify that didn't have a solution.

Post reply on HN