Live data from Hacker News

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

news.ycombinator.com

421–430 of 507 posts

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

#422
How much small print do you accept? How legally reliable do you want it? How much effort do you want to put in?

Without smallprint it's either self-host on a raspi at home + some dyndns (cost near 0, larger initial effort) or EUR 2 per month for shared hosting (in germany).

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

#423
post #219

Hosting a personal blog on old / cheap hardware at home and accepting some downtime now and then should be a trade-of worth making for most. An interconnected web of documents served from personal computers residing under a desk or in a basement – it is a beautiful thing. We nerds often seem to fall into the trap of over-engineering things, like, spending a lot of time building personal stuff that can scale into the…

I wonder if 3rd parties could DOS the telephone (VoIP) this way?

Do you take precautions or just accept the theoretically lower reliability of the phone – which isn't anything reliable anymore anyway, thanks to VoIP?

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

#424
post #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 softwar…

Even for private stuff you're under dictation of a 3rd party that decides what you're allowed to say to whom and who eavesdrops. US was once famous how they valued free speech. Tempi passati.

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

#425
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…

From NFS site:

> Currently we are not tracking (and hence not billing for) extra bandwidth usage. This is subject to change at any time.

What do you do if your small static site gets suddenly HN audience? Do you then pay thousands for the bandwidth?

For simple static sites, I always look at the egress rates and bandwidth caps. For example if you have Wasabi+Cloudflare, then you know the pricing before hand. Wasabi doesn't have egress fees even if Cloudflare were to redirect all traffic for a while to your files.

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

#426
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've used NFSN for hosting almost-zero traffic static sites for years. But, if it's the cheapest host you're after they're not it.

The pay as you go model they use can mislead you into assuming they cost pennies because you pay small amounts each time, but with a half a dozen sites hosted you can expect to get hit by top up warnings a few times a year.

I've just double checked my email receipts, and I had to top up $60 in 2020 just to keep those static zero-traffic sites up and running.

Standard, bare bones, shared Linux/MySQL hosting anywhere else will rarely set you back more than $40-$50 a year. There's really no commercial reason to choose NFSN.

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

#427

Earlier quoted context omitted.

Thank you for pointing out this blog post. I used NFS for many years but moved away a while ago for opportunistic reasons. However, after reading that post, I will make every effort to go back to them. "Freedom of speech" does not include hate speech or racist speech or any speech advocating against a group of people in my worldview, and I therefore agree 100% with NFS's stance. All freedoms have limits, agreed to by…

Politically incorrect things get labelled "racist" now a days. I, as a brown immigrant, get to criticize my home country all I want. I can call my home country corrupt, filthy, polluted, no regards for women rights, gay rights, caste system, rapes etc and be totally okay as long as the other person knows I am brown. But suddenly if a white person or someone with the wrong "political affilitation" says the same things…

You raise a point that seems to come up increasingly frequently, and it's a good one because it highlights some complexities in the issues.

I don't think you're entirely wrong, but I don't believe you're entirely "correct" either :)

Some brown people can be racist, including towards other brown people, and including those of the same heritage. (I'm not saying that you are.)

Some subset of comments by racists may be categorically true. For example, a racist might decry the appalling rapes and murders that have been reported from India, saying violence towards women in India is a serious and pressing issue.

Isolated statements don't necessarily reveal motivations or underpinning beliefs. A blog post might report "truth", but that might be selective, framed and phrased in certain ways, and so on. So a hosting service necessarily needs to make a judgement call regarding acceptable content, and sometimes this will require looking beyond the content itself to discern motivations.

The motivations of a writer or broadcaster are key. If someone is writing about corruption and endemic violence in a foreign land, why are they doing this? Is it to call attention to the issue so it might be addressed and fixed? Or is it to build a wall?

For what it's worth, I doubt NFS would ban you from writing about the issues you've raised, provided they were constructive. Yes, that's a judgement call, and I think that's inevitable.

The issue of white allies (or cis-gendered, or whatever other area is concerned) is tricky, and frankly I think society is going through adolescence with this. Lots of outrage, lots of polarisation, and this is a shame and unhelpful. I agree that rejection of your allies by authorities that haven't attempted to understand the details is actively undermining, even if it's done with apparently good intentions. Personally, I think this sort of thing happens through fear of attracting outrage, misunderstanding the problem, wanting a simple answer to complex problems, pressure to act quickly and show decisiveness, and so on. Unfortunately this stuff is complicated and complex, and requires care and attention.

Personally I feel that the underpinning issues here are driven by polarisation, and this is what needs to addressed. Anyone who's writing to encourage collaborative solutions to grievous problems is unlikely to be banned by any hosting provider worth its salt. The sort of provider banning such content isn't contributing to a happier world, so should be avoided.

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

#429

Earlier quoted context omitted.

> I, as a brown immigrant, get to criticize my home country all I want. Countries are not people, so criticism of a country cannot be racist (it's a category error). Criticism of people of a country could be racist, but that's a different thing. Criticism of the government/establishment of a country could be racist, but again that's a different thing. Unfortunately these three separate things often get conflated and…

> countries are not people, so criticism of a country cannot be racist Then how do you explain those reactions? [1] "I'm sorry, but there's no other word one can use but racist". GP is totally right, nowadays any remote criticism -- and I'm speaking of the factual ones, not the injurious kind mentioned before -- of a foreign country (except China, Russia and NK for some reason) by white people is labeled racist. And…

I did not specify who was conflating/mixing-up these distinct topics, or for what purpose. Racists often conflate countries/governments/populations, which is what Trump did with his "shithole countries" comments. He was referring to the people of those countries, i.e. the pool which immigrants would be members of (or, in his delusional mind, "sent by").

Note that if a country itself were a 'shithole', say for example a war-torn region like Yemen or Syria, that would only help the case for immigrants from that country; since the place they're fleeing is so bad.

> GP is totally right, nowadays any remote criticism -- and I'm speaking of the factual ones, not the injurious kind mentioned before -- of a foreign country (except China, Russia and NK for some reason) by white people is labeled racist.

Citations and examples please (also for the China/Russia/NK criticism; I suspect you're also conflating criticism-of-government/people with criticism-of-country)

> And of course, people of color are allowed to speak anything they want against European countries

What complete and utter total bollocks. Have you never encountered the thought-terminating cliche of "if you don't like it then leave", or its more overtly-racist cousin https://en.wikipedia.org/wiki/Go_back_to_where_you_came_from ?

> and spread hate speech mostly without any issue

I find this use of the word "mostly" to be mostly questionable.

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

#430
post #219

Hosting a personal blog on old / cheap hardware at home and accepting some downtime now and then should be a trade-of worth making for most. An interconnected web of documents served from personal computers residing under a desk or in a basement – it is a beautiful thing. We nerds often seem to fall into the trap of over-engineering things, like, spending a lot of time building personal stuff that can scale into the…

That's how I do it. I absolutely agree with the overengineering. I'm pretty confident my low-end Celeron server could handle a large number of concurrent visitors over my fiber connection at home.
Post reply on HN