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

451 points by offtop5 ↗ HN
This is more of a thought experiment, I know a multitude of ways to do this which require loads of setup, jumping through AWS hoops, etc. I'd like ideally way to deploy to a hosted service with a single command. Imagine Heroku but even easier.

506 comments

[ 2.9 ms ] story [ 382 ms ] thread
Netlify is really easy. Just drag and drop your static site's folder.
If you mean pure html/css, then the least friction would be NeoCities [1] It is free and not owned by Microsoft or Google.

[1] - https://neocities.org/

Seconded. Their CLI has all you need, even git hooks. Personally I just use `neocities push .`
Thirded.

Use it to host my blog; free tier is good, but I really like them and have really phenomenal limits, etc, so just pay (even though my blog is not updated nearly as much as I'd like)

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.
What makes you think neocities stands out and above?
From what I understand the motivation behind neocities is more political (humanist) than commercial. Also it's fully open-source (the data could easily be hosted anywhere else for cheap). You can read more about their stance on their blog: https://blog.neocities.org/
Neocities must have an interesting story behind it. I seem to remember something about it being part of an effort to salvage Geocities. Has the story been written down somewhere?
GitHub pages! It’s free so I don’t think it can get any cheaper.
Speaking of AWS, I recently deployed a gatsby web site with AWS Amplify. It links to your git repo and will automatically deploy when you merge to master/main. You can also deploy branches you want to test out. As this was my second website I have ever deployed, I was amazed at how easy it was to setup.
This. I can warmly recommend AWS Amplify for hosting static sites. Very convenient and easy to set up.
Yep - we recently launched a couple of react sites on amplify and have found it super easy for our team to adopt. Hooked up to gitlab in a few seconds, added custom domain easily (automatically updated route53 for us), each PR gets its own deployment behind a password for testing, and develop and master are updated automatically on merge.
The most popular currently is probably https://www.netlify.com/ - 100% free.

If AWS + CloudFront is too difficult and you don't mind spending a few bucks, it's pretty easy to get started with LightSail - about $3.50 a month.

Firebase hosting work well.
Firebase as in Google's Firebase? I guess the SEO is already done for you, but I'm still not sure I'd make everyone talk to Google to visit my site, even if the hosting is free.
Google App Engine has a very generous free quota. The setup isn't as easy as good old FTP, because you need to define your static files in a configuration file. Once the config is written the deployment is a single command though.

https://cloud.google.com/appengine

I think you're better off using bucket storage rather than App Engine for a static site.
The free bandwidth quota isn't enormous, but if you put Cloudflare in front then you're good for practically unlimited free traffic. App Engine is overkill for a completely static site but it's great for something that is mostly static with one or two things that change.
>>> The setup isn't as easy as good old FTP, because you need to define your static files in a configuration file.<<<

Are you referring to specifying the path to your static folder/directory in your app.yaml file? If so, that doesn't seem so difficult to me.

Yes, you're right - the deployment is a single command for something as simple as a static website until the next time you need to make changes (then you'll have to root around your terminal again) or you decide to upgrade from static to something a bit more complex. Shameless plug here - my site, https://nocommandline.com, allows you to just select and click deploy; no routing around in terminal/commandline.

I continue to be a big fan of surge [1]. A number of toy projects/demos of mine have been developed using create-react-app, rendered to static files, then deployed via surge.

[1] = https://surge.sh/

Git project? Netlify. Not a git project? Surge!
I used surge once recently, and it just works. What I didn't figure out when the same site is deployed to the same domain name, and when it gets a new one. I'm sure it's documented, it's just not obvious (and for a throw away web page it didn't matter).
GitHub Pages are probably the easiest to work with, with node modules built for easy one-command publishing.

Though for production I'd probably use S3+Cloudfront.

Also auto-publishing on pushes to a specific branch with GitHub actions is really awesome.
Cloudflare Pages, or Firebase Hosting. Both can be spiced up with cloud functions.
My Favs: - Cloudflare - AWS s3 - Github pages - Google
For the occasional single static page website I sometimes need to have hosted for a domain, even Blogger does a pretty good job.

Make a new blog on Blogger, switch to classic theme, edit the template, delete everything in that box and cut/paste your HTML. Images can be hosted by making a new blog entry, uploading images to it and saving it as a draft. Once you disable the Blogger top navbar, the theme as a single page website is pretty transparent and works well.

My weekend project is to move a small personal site to Cloudflare Pages[0]. Can't vouch for it yet, but it might be worth a look.

[0] https://pages.cloudflare.com/

Got my invite a bit ago. Haven't converted my site yet.

How did it go?

Surge.sh is probably the easiest and fastest. Host a static site in one command.

I like Netlify for most stuff personally.

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.

Also you can deploy your `public` folder to Netlify simply by drag-and-drop. I love this.
I've been very happy with this setup for my simple personal marketing site.
+1 I have been using Netlify to host 3 static sites for many months now. Have had 0 issues. Set up took <15 minutes. Making changes is a breeze.
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"
  - automatically integrated with Let's Encrypt for custom domains
  - deploy previews!!!
And so much more.
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
Also, preview deployments for PRs.
I swear by Netlify. It's fantastic, and I use it for several sites, not least of which is my own personal site.

One of their neat features is the ability to spin up "pull request sites" automatically, so you can share versions of your site with stakeholders before it's made live.

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/...

Anyone got issues with this?

In my opinion, there are some cases where it is a gray area: professional portfolio, case studies website with an email collection form, blog posts where you mention that you are a freelancer, a site where you link to your YouTube videos, some simple JavaScript app that don't require a backend but might make some money with ads...

So I'm just wondering how often they strike down at people who operate in this gray area.

I suspect it’s more a “don’t yell at us if your business site is down because you don’t know what you’re doing”.

The SaaS part might have more teeth.

That's a great point. I actually looked at GitHub pages and my main issue with it is there's no way to password lock the site. I don't need serious security here, but I also don't exactly want the entire world to see my HTML playground.

I'm not sure why they're doing it this way, it should be a nominal task to restrict viewers to those with read access to your repo, but I think it underscores the use cases they have in mind here. They want you to use it as a blog and not as a serious web hosting solution.

> it should be a nominal task to restrict viewers to those with read access to your repo

I don't think it would be quite that trivial. They would have to inject authentication into your HTML, which could cause lots of things to break.

They offer it for Github enterprise .
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.
https://render.com (lead by early Stripe infra employee!)
Seconding render. I host a Hugo site with them. Their free tier is pretty feature-rich and I love the automated builds. My site is set up so that any push to the main branch on a private github repo gets automatically checked out, compiled to HTML, and updated on their CDN.
Yeah loving their setup. Very Heroku-like. Free for static hosts and almost as cheap as Digital Ocean for servers
I'm using them for a rust rocket site, and about to for a django/vue thing. It's extremely slick and easy to get going. But they are just personal projects. I haven't thought about whether it would be suitable for a prod deploy, or how I'd do something like take django down while database migrations are running on deploy.
Looks similar to Digital Ocean App Platform except they have much better bandwidth allowances, apex to www subdomain direction, cron jobs and persistent disk.
I guess cheap and easy are opposite directions in a way, but if you are totally static, I guess a Digital-Ocean instance isn't too difficult, with some leeway to improve the response-time over time; Just slap a Nginx or something on it, serve up the statics, and maybe establish a way to upload stuff (scp?), Just keep hold of backups (docker images, configs/dotfiles, and actual content), put good protection on the droplets (they are targets for hacking).

The benefit is that it's just a linux distro of your choice, so you can use whatever you are familiar with, and there is scope to add non-static service if needs be.

If you use Fastmail, it comes with static website hosting included
(comment deleted)
(comment deleted)
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 things like serve html without the .html filetype in the url; e.g. https://zck.org/emacsconf2020 is stored on the server as emacsconf2020.html . (I do this so Emacs recognizes the files as html, but keeps the urls clean).

It's a nice tool if you want to get a little involved in your setup, without getting wrapped up in proprietary tooling. It does charge for what you use, so it's not a great site if you are going to host Blu-ray images that get downloaded from everyone on HN.

I'm a huge fan of NearlyFreeSpeech as well! Its super cheap, has a great user-forum, and just... feels like something I can wrap my head around easily. Love it
I have also used nearlyfreespeech for years, and I'm very satisfied with the price model and clear, easy-to-use account management pages.

My site is entirely statically-served; I have one script for rebuilding my local copy and a second for rsyncing to my NFS host.

Yep NFSN is great. If you have a bunch of static files it's really just `rsync myfiles mywebsite@ssh.phx.nearlyfreespeech.net:` and you're done. No set up, no nothing.
Yeah! The command I use is: `rsync --recursive -vv --delete --filter="protect /.well-known" /path/to/site/on/local/box user_site@ssh.phx.nearlyfreespeech.net:/home/public/`

I add `--delete` to clean up any files I might've created on the box (e.g., to test .htaccess), and then `--filter="protect /.well-known" so that I keep any files related to serving as https.

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

For the record, they do have support for email warnings when your balance drops below various thresholds- it's right on the account dashboard.
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.

I’m pretty bad at keeping on top of that sort of thing, and their email alerts have kept me on top of it for close to 20 years now. I set email alerts at $5 and at $1 remaining and I almost always ignore the $5 one. I think I’ve gotten the dreaded “your account is out of funds” emails three or four times in that time, and I can have it back to running with a few clicks. I’m pretty darn lazy but I think their system is wonderful. No out-of-sight auto-pay that creeps up in cost, but still relatively easy to manage.
NSFN are also a great registrar for those who host elsewhere. I found them way back when GoDaddy was in the news for pulling domains at News Corp's behest when I decided I wanted a registrar that wouldn't do that :)

https://mashable.com/2007/01/25/myspace-godaddy/

I have used nfshost for hosting multiple sites for over a decade. They're a fantastic service that's simple, secure, and provides great, fast support.

They recently published this blog post: https://blog.nearlyfreespeech.net/2021/01/19/free-speech-in-...

After reading this, I made the decision to move my hosting elsewhere. I have never hosted content that is even remotely political, and have no intention to do so. I had chosen to patron nearlyfreespeech based upon the belief that their conception of 'freedom of speech' matched my own. I believe 'freedom of speech' is not just a convenient vehicle for expressing my own political ideas, it is an important political idea in and of itself. I believe that the freedom for individuals to express their ideas without censorship is integral to a free and intelligent society. This post of theirs demonstrates that I had clearly misunderstood their beliefs.

It's clear that 'freedom of speech' is a controversial notion in today's society. If they market their service based upon their respect for so-called freedom of speech (it's in their name), I don't know what kind of crowd they expect to come. I came not out of a need, but based upon my political views. I imagine I'm a minority. I'm not interested in a host that markets itself in such a way, and then demonstrates that what they _really_ meant was that they want an environment where you're free to agree with their views.

Is that a long winded way of saying you think this company should host illegal or racist content? I think I get your rhetoric but I’m not totally sure what you think that means in actual practice (edit grammar)
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 reasonable people living in a reasonable society. Freedom of speech,is only 'controversial' to people who think limits on racist speech and the like is unreasonable.

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 about my home country - they get labelled racist/xenophobic etc when they are speaking the truth.

If I made a website criticizing the corruption or filth or disregard for women or gay rights in my home country, NFS would take down my site - probably until I dox myself and show that it's a brown person running it - then it might become okay.

Political correctness such as this is exactly why the good people in my home country suffer the most. All so that someone in western world or the elite class in my home country can feel morally superior.

And I hate to bring my skin color in a debate but that's the only way to explain how political correctness is making things worse for good people back home.

White people are allowed to criticize the country in the exact same way here too. That’s not the type of stuff we are talking about.
> Political correctness such as this is exactly why the good people in my home country suffer the most.

I think it might be income inequality that makes the good people in your home country suffer the most - but I don't want to assert this because I'm (probably) not from your home country and don't know it quite like you do.

> 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 mixed up.

> 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 of course, people of color are allowed to speak anything they want against European countries, and spread hate speech mostly without any issue (granted one rapper is condamned from time to time... for instance Nick Conrad after singing "hang the whites" [2]).

[1] https://edition.cnn.com/2018/01/12/politics/trump-shithole-c...

[2] https://www.leparisien.fr/faits-divers/ces-rappeurs-qui-defr...

A bit of context,

> "I'm sorry, but there's no other word one can use but racist," Colville said, responding to reporters at a news conference in Geneva, Switzerland. "You cannot dismiss entire countries and continents as 'shitholes' whose entire populations, who are not white, are therefore not welcome."

You missed that second part.

Looks like they’re talking about dismissing the people of those countries just because they are from, what they consider, a ‘shithole’ country/continent.

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.

> Countries are not people, so criticism of a country cannot be racist (it's a category error).

Technically true, but practically useless. What is a country other than a group of people? Almost all criticism of a country will inevitably be about people in it or their actions - with very few exceptions (ex. complaints about the geography, weather, etc).

It’s far from useless and even a cursory review will find many examples of criticism which says things about the people of a country being mislead, poorly served, etc. which is different from racist claims that they are innately disposed to be that way. The key part is acknowledging the fundamental humanity of the people you’re talking about – they may make choices we dislike but that’s a decision, not genetics.

For example, I grew up in California and heard a lot about Mexico’s problems — some people would repeat racist claims about Mexicans being lazy (despite them universally hiring undocumented workers for cheap labor) or dishonest, but others would correctly identify problems like corruption being due to things like the huge amounts of money from the U.S. drug trade ensuring that cartels regularly killed off non-corrupt officials, where the system didn’t work well for most people who didn’t have a choice and everyone involved having acting on the options available to them rather than some innate determinism or moral weakness.

> What is a country other than a group of people?

Which group of people? The population? The government? These can be very different (just ask Myanmar)

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.

This is a straw man, legitimate criticism isn't racist and no one says it is.

If your idea of criticism is something like using a slur or stereotypes to make an argument then it is not politically correct.

What's the criticism you want to give but feel like you can't?

> legitimate criticism isn't racist and no one says it is

Free speech means freedom to express “illegitimate” views, “the fullest liberty of professing and discussing, as a matter of ethical conviction, any doctrine, however immoral it may be considered”. No one has reached a universal agreement on what “legitimate” criticism is. Of course there are often prevailing societal opinions, but those change with the society. Eg. the Federalist Papers were largely written by someone who was literally labeled “illegitimate” by society at his time (and were full of slurs, stereotypes, etc.¹). Someone who got killed in a duel — the meaning of civility changes with the civilization. IMO ours is at a fairly high point at the moment (in part because of the value placed on tolerance for differing values), but it’s only a matter of time before it inevitably collapses much like the Greek and Roman ones before it (likely in part because of intolerance for free expression).

¹Eg. stereotyping the Republics of Greece and Italy as “petty” and slurring opponents as “advocates of despotism”. https://en.wikisource.org/wiki/The_Federalist_(Dawson)/9

(comment deleted)
>> "Freedom of speech" does not include hate speech or racist speech or any speech advocating against a group of people

Freedom of speech includes all those things.

>All freedoms have limits, agreed to by reasonable people living in a reasonable society.

That's a deeply flawed stance. The meaning of "reasonable person" changes so often as to be able to mean anything.

Neither you, nor GP knows what kind of speech exactly they were referring to. You're basing your decision on what you think they mean.
There's a difference between "freely expressing your ideas" and eg. plotting a vigilante kidnapping.

The former should be protected, the latter should be reported to the police.

A lot of the people who say they want free speech actually have some kind of anarchist fantasy where they can do whatever they want without consequences.

It seems like you care about free speech, not anarchism, so I'm not sure why the blog post offends you so much?

As I understood it, the blog post just makes it clear that "free speech" to them does not mean "lawless place where you can hide from the police".

Nowhere in the blog post does it say that they will only allow content or opinions that they agree with.

Why are we letting tech companies become self appointed judge and jury, often forced to do so by online mobs? There's a full legal system to take care of those who actually incite violence/plot kidnapping etc. Nobody is talking about defending them.
You’re talking about forcing a company like nfshost to help them in their illegal and/or immoral endeavors? Companies have a right to fire customers they don’t like, with a few very well-specified exceptions. You’re trying to take away that right?
Well they're not really a judge and jury, they're reporting you to the police who involve the judge and jury. It's not like the web host is sending anyone to jail. They're just refusing to business with crappy people, which is something all business get to do.
The legal system requires companies to do so, not online mobs.
Maybe I'm reading too much into it but that blogpost doesn't sound like it's about anarchism or illegal content to me, it's sounds more like them justifying shutting down "problematic" content (like what happened with Gab or Parler). They also have a paragraph towards the end about how they don't want to host "racists".
Yea, this is where my line is. I absolutely believe in full free speech. However, i do not believe free speech is the same as a broadcast (televised, viral, etc).

Yes, it's muddy water, but so is everything. There's nuance in threatening to kill someone. However i think we're in a new age, and we need to analyze where free speech changes into coordinated/group-think hysteria.

Which isn't to say that we should tightly control coordinated communication. Rather it's just that i think the two are different, and i think the modern age requires us to recognize that and discuss it.

We're in the age of misinformation. And a nutter yelling on a street corner is one thing, but giving him a TV Show in Prime Time is another. The damage he can do on a street corner? Minimal. The damage when broadcast to the world? That is the concern to me.

That blog post was why I decided to not use them too. Specifically their line about

> "and we have no interest in living in a sea of mayonnaise."

What is that even supposed to mean?? Who refers to people as "mayonnaise"?? While claiming to be against racism??

>Who refers to people as "mayonnaise"??

Racist people I'd guess

I read it as a succinct and derisive dismissal of white supremacist beliefs, particularly racial purity.
Anyone who refers to people as "mayonnaise" and "curry" are racist themselves.
Won’t someone please think of the white people
it's getting harder to be white day by day. /s
Please both of you refer to the rules, specially the part about assuming good intent.
I’m not sure what good intent was meant by calling folks racist.
(comment deleted)
(comment deleted)
>racial purity

Not to be confused with the antiracist belief that people shouldn't date outside their race bacause... it's colonialism?

> Who refers to people as "mayonnaise"??

Self-hating white liberals.

This reductionism seems like identity politics at its worst. It sounds like you're saying that anyone who identifies as white (regardless of how arbitrary this race is) must avoid using a term you find disrespectful to describe their race, and doing otherwise means that they are hating themselves?
The post would have been just as effective without that oddly phrased phrase. It is a strange jab at "whiteness" which, I think, reveals the general attitude of the people running the company. Personally I think they should remove that sentence. It isn't a good look.
Thanks for sharing their post.

As the saying goes there's a difference between hate speech and speech that you hate. It seems like the line between the two is getting murkier everyday with people labeling things that hurt their feelings as micro-aggressions which are a form of "violence" to some people.

I prefer not to support businesses that anoint themselves arbiters of morality.

Well it did say 'nearly' in the name!
Funnily enough, arbiters of hate speech are usually quite racist against other minorities but are able to find very nice excuses for themselves and their circle.

    After reading this, I made the decision to move my hosting elsewhere.
After reading this, I made the decision to use them next time I need a static web host, which is hopefully soon.

Thanks.

Your comment is exceedingly political. It’s unfortunate you mistakenly feel you are politically neutral and that you represent “actual” free speech, whereas companies who don’t choose to render services to insurrection-plotting fascists and racists apparently only practice “convenient” free speech.

I hope you can step back and evaluate the mistake in your perspective. Number one, you are demonstrating that you care more for politics than for free speech (let alone the fact that your viewpoint literally leads to people being harmed in preventable ways where the prevention methods don’t threaten free speech). Number two, you are trying to define the conversation in a way where you are neutral politically and merely hold up an ideal principle, but that’s very clearly false to huge degree and you’re not admitting the political bias and blinders you are yourself bringing into it.

It's interesting how free speech is being interpreted and abused for hate speech so often. This isn't as much of a thing in German speaking areas, where it is called freie Meinungsäußerung.

Frei ... Free Meinung ... Opinion Äußerung ... Utterance

It's the freedom of voicing opinions, not any speech even if it incentivises hate crime.

Another happy long time user of NFS here.

Just thought I'd chime in to add my 2 cents, on the off chance that it helps someone here make an informed decision.

NFS is also great for small MySQL backed sites - for example your Wordpress blog or something similar.

Their pricing model is so transparent and predictable, and the support from Jeff and co is great (their documentation and FAQ is simply brilliant).

Also their domain registration and setup is a breeze - and they have great Whois privacy support.

These guys were doing pay-as-you-use pricing long before AWS came along. We still use (and love) AWS for our extensive production systems, but for simple hosting of smaller projects and / or personal websites, NFS is unbeatable.

Its combination of affordability and ease of use is simply the best.

They’re also quite on the ball with system monitoring. I remember once about 15 years ago when I decided to see if I was able to ssh tunnel a socks proxy through their shell machine (I was curious what would happen) and they had my account suspended within minutes. :D Great job, guys (sincerely). Took me promising never to do it again to get reinstated.
I'm pretty fond of them, but their service charges for support gradually add up if you have many sites there. I'm moving some items to a $5 VPS.
Have you looked at using the per-alias document root feature? Depending on your needs, you could host multiple domains and "sites" on one NSFN site using this feature. This makes all of them share certain things and doesn't allow the amount of resilience that separate NSFN sites would allow, but it's an easy way to reduce your costs if your needs aren't very demanding.
Does this service live up to their name? Are they for free speech principles or do they have their own content moderation policies that go above the legal minimums?
You be the judge based on this blog post:

https://blog.nearlyfreespeech.net/2021/01/19/free-speech-in-...

Imo, answer is no. Any site which uses terms like "sea of mayonnaise" to describe people while claiming to be against racism is giving lip service and lacks self awareness.

Wow that is a really disappointing blog post, both for showing they aren’t content neutral and because of its unprofessional tone. Thanks, there have to be better options out there.
> I do things like serve html without the .html filetype in the url; e.g. https://zck.org/emacsconf2020 is stored on the server as emacsconf2020.html

How do you handle it?

In the .htaccess:

  RewriteEngine on
  RewriteCond ${REQUEST_FILENAME} !-D
  RewriteRule "^((?:.*/)*[^/.]+)$" "$1.html" [NC]
Any reason not to just use

  Options MultiViews
instead?
Mainly because I did not know that existed. I'll have to test it before thinking about switching it out. I wonder if there's some sort of unit test suite for .htaccess configurations -- big changes like this could definitely break something, and my config works for me now.

It does seem like it might be more magic than I prefer in programming, though.

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.

Having been on the HN frontpage several times with my small static site, it doesn't even show up in my monthly billing reports. The main fluctuation is for when I renew domains.
They say in their FAQ that a typical slashdot/reddit surge costs a typical site under $10. If you keep a $20 buffer you're probably fine, and the worst case is you burn through that and the site shuts off until you put more in.
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.

Is saving $10 over a year worth the time it took you to do the math on that?
I've been using NFSN for over ten years. Most of my sites with them are static, and it's great that when I'm on the front page of HN I never have to worry about anything, it's just business as usual.
I'm trying out Cloudflare Pages, it's pretty good so far.
If you have an MSDN subscription (e.g. through work), using your free Azure credits to host a site is a pretty good option.