FTP-it to a friends' server.
Ask HN: Cheapest/easiest way to host a static site?
171–180 of 507 posts
Re: Ask HN: Cheapest/easiest way to host a static site?
#172Re: Ask HN: Cheapest/easiest way to host a static site?
#173Firebase hosting work well.
Re: Ask HN: Cheapest/easiest way to host a static site?
#174I 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…
If you’re actively updating (or just better organized), NFSN is a good choice
Re: Ask HN: Cheapest/easiest way to host a static site?
#175Doesn't get much simpler than:
ftp-upload -h myisp.net index.html
Re: Ask HN: Cheapest/easiest way to host a static site?
#176Re: Ask HN: Cheapest/easiest way to host a static site?
#177Not sure if it’s the cheapest way to do it, but it seems extremely cheap. Likewise not sure if it’s the easiest way to do it, but it seems easy now it’s set up - everything is in one place.
IIRC Cloudfront S3 data transfer has quite a generous free tier.
The only thing I worry about is whether uploading objects is expensive, and invalidation. But it’s not been (noticeably) an issue so far.
Re: Ask HN: Cheapest/easiest way to host a static site?
#178Earlier 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
As IPv6 becomes more widely adopted, there will be no need to conserve IP addresses and everyone can be allocated a block of them.
Re: Ask HN: Cheapest/easiest way to host a static site?
#179Re: Ask HN: Cheapest/easiest way to host a static site?
#180Cloudflare pages. The only real limit on the free plan is "500 builds / month". Simple is relative, of course, but if you're a developer, you'll likely find it simple, and it does fit your "deploy with a single command" requirement. https://pages.cloudflare.com/ You can also tie it with the free plan for Cloudflare Workers if you have some need beyond static pages.