Live data from Hacker News

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

news.ycombinator.com

301–310 of 507 posts

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

#301
post #300
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…

It's been getting more difficult to host any kind of services at home. My current home internet service is behind triple NAT.

I can 'upgrade' to a fixed, routable IP for ~$5/month.

If I switched to a different ISP, I used to be able to get a fixed IP for a one-time $40 fee. I think that offer is no longer available though.

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

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

Hey, do you plan to support Gitlab repos? I'd love to use pages but I can't because my repos are on Gitlab.

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

#303
post #193

I use https://sdf.org , but then my needs are very modest...

Love to see projects like this still in existence. I sometimes wonder if I would get some users who could also share a box and keep it going for 30 years.

Mea culpa. It looks even more awesome now. I'm in -- and I think I'll send them a $1 via paper envelope now.

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

#304

Earlier quoted context omitted.

From my experience most ISPs don't give publicly routable addresses anymore, just throwing everybody behind CGNAT (currently I pay extra 3$ monthly fee for static routable IP, but not all providers offer it). And IPv6 is usually still not deployed.

As the other comment says, I've never seen CGNAT in the US. I'm sure it's deployed in some cases, but I've never had to deal with it. I'm confused about it though. For some applications and games you need to connect peer-to-peer for them to work correctly. How is it possible to connect to a peer with some random port open (e.g. 48295)? It doesn't seem like the ISP could know that the request was aimed at you, if some…

Some systems use an internet service to coordinate nat-traversal/hole punching. Other systems just don't work.

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

#305
post #300
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…

It's been getting more difficult to host any kind of services at home. My current home internet service is behind triple NAT.

I host at home but put a VPS in front of it. Then I use wireguard to route all the connections to my home server. Which goes right thru all that NAT.

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

#306
post #288

Earlier quoted context omitted.

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

Hey, do you plan to support Gitlab repos? I'd love to use pages but I can't because my repos are on Gitlab.

hi there! cloudflare pages pm here :) we certainly plan to (nothing against gitlab!!), likely in the next couple months. my email is rita at cloudflare. happy to keep you posted

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

#307
post #230
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 am doing this and it's fun! The only hassles I had are a. setting up DDNS (since I don't have a static IP) and b. getting a certificate from Let's encrypt with only port 443 open (80 is blocked by my ISP). But other than that, it has been great! Hopefully my ISP won't have a problem with that ;)

I just use a script on a cron that runs every 15 minutes and updates my DNS provider. And for let’s encrypt, I use the DNS verification method so you don’t have to even expose HTTP(S) ports if you don’t need to

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

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

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.

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

#309

Earlier quoted context omitted.

And also, who cares it's a static host and you can change to another one in an afternoon. There's zero lock-in when you're only rsyncing some files around. Just make sure you have total control over your DNS (buy a domain, put it on a good DNS host) and you really can't screw things up too badly.

Who would you consider good DNS hosts? I'm looking at setting up a static site and am new to the whole process

CloudFlare can be used for dns registration and management as well as ddos protection, ssl cert issuance, origin hiding, static hosting, edge computing, and more, all in the free tier. If you use something like namecheap, you may find the dns resolvers aren’t super great - eg. Changing a record may take 30 mins to propagate because they use higher TTLs by default, whereas CloudFlare’s anycast dns network usually propagates a DNS change where its testable on any network within 60 seconds. The downside of using CloudFlare for both your registrar and operationally is if they ever have an outage at the registrar tier you won’t be able to route to new nameservers. If you’re worried about that you can buy your domain through someone else but point at CloudFlare’s nameservers.

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

#310

AWS S3 + Cloudfront. The initial setup can be a little finicky, but once you do get it setup, the rest of the time you only do an S3 sync from your local dir to the S3 bucket. It will also be stupid fast (cloudfront is edge networks) + have ssl + it will not go down if you ever see a surge in traffic. I have several of these and they work beautifully. As far as cost goes: 12$/domain per year + 0.5$/month for route53…

Yes, I have a similar setup on Azure - Azure Storage account with an Azure CDN fronting it. It's less than a single US cent per month for the hosting and bandwidth costs atm.
Post reply on HN