Ask HN: Cheapest/easiest way to host a static site?
231–240 of 507 posts
Re: Ask HN: Cheapest/easiest way to host a static site?
#232Granted, it took some setup to get there, but it's pretty easy now and portable too. Can easily be switched to any other service.
Re: Ask HN: Cheapest/easiest way to host a static site?
#233I host my personal static site on a vps with nginx. It's a gatsby site so deployment is just yarn deploy, which runs gatsby build and rsyncs the build folder to the server. Granted, it took some setup to get there, but it's pretty easy now and portable too. Can easily be switched to any other service.
I currently just sftp in to deploy, but it would be pretty easy to set up sshfs so you wouldn't even need to open a terminal if you didn't want to.
Re: Ask HN: Cheapest/easiest way to host a static site?
#234Re: Ask HN: Cheapest/easiest way to host a static site?
#235It's super quick to set up, and you can have a mix of static/dynamic content on the same site.
Re: Ask HN: Cheapest/easiest way to host a static site?
#236Hosting 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…
Re: Ask HN: Cheapest/easiest way to host a static site?
#237Re: Ask HN: Cheapest/easiest way to host a static site?
#238I'd say Digital Ocean's newish Apps platform. Static sites are free and they can run a build step for you (still free).
https://www.digitalocean.com/products/app-platform/
"..Build and deploy 3 static sites for free."
Re: Ask HN: Cheapest/easiest way to host a static site?
#239I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…
I should warn that bike shedding about this distinction is absolutely not worth your time if you’re reading this and have less than like 100 blog posts written or are running a business on these sites (in which case I think you should pick Netlify). Go write something.
Re: Ask HN: Cheapest/easiest way to host a static site?
#240I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83