Live data from Hacker News

Static site hosting hurdles

notes.volution.ro

41–50 of 183 posts

Re: Static site hosting hurdles

#41
post #23

Uh what's wrong with shared hosting? I use Dreamhost but there are dozens of others. It costs less than $10/month and I've used it since 2009. I think the industry (or part of a generation of programmers) somehow collectively forgot that it exists. I don't see any mention of it in the article -- it solves the problem exactly. It easily serves and survives all the spikes from Hacker News that my site gets. Shared host…

Yep. Been on Dreamhost since 2004. Just create the html file and sftp it using FileZilla. Setting up a domain is just a few clicks on their admin site. PHP + MySQL works perfectly. All for $10/month.

Re: Static site hosting hurdles

#42
post #18

There's also HTTP HEAD requests, and "304 Not Changed" that you need to take care of. This is what makes static site download look instantaneous. There's more of such optimizations. With all these I find it better to stick with old Apache or similar service for speed, rather than a simpler service that only takes care of GET.

[deleted]

Re: Static site hosting hurdles

#43

Last month I paid $1 for route53, 12 cents for S3. and am hosting my https site which I create with publii. Works fine. Took a little time to set up, but now it is just a button push to update the site. Great for my personal blog and phtot gallery.

I pay 80 cents for the same as you. I only have 1 domain on route53. But I do also have a Lambda and API_GW mixed in there that get's infrequent to zero use.

Re: Static site hosting hurdles

#45
The article is right in that setting up a server for any kind of hosting is not a simple task. There are no "good defaults" or "templates" easily embeddable/extendible for your specific use-case.

Re: Static site hosting hurdles

#47
post #25
post #23

Uh what's wrong with shared hosting? I use Dreamhost but there are dozens of others. It costs less than $10/month and I've used it since 2009. I think the industry (or part of a generation of programmers) somehow collectively forgot that it exists. I don't see any mention of it in the article -- it solves the problem exactly. It easily serves and survives all the spikes from Hacker News that my site gets. Shared host…

Dreamhost is hugely underrated. Their custom panel with deep integrations are phenomenal for side projects or small businesses. In under a minute you can have your web server, SSL cert, database and more all setup and working - and you don’t have to manage any of it. I wish more companies offered their level of managed services. (If anyone knows of others, I’d like to hear who)

I think this is what Cloudflare Pages tries to solve

You just connect your git repo and tell it what command to run to build your site and where the html output is

Re: Static site hosting hurdles

#48
fasthttp doesn't implement HTTP/1 correctly, and doesn't implement HTTP/2 at all. It's not an appropriate choice for a general purpose tool or library. The code is also not correctly formatted. Strong negative signals.

Re: Static site hosting hurdles

#49
post #25

Earlier quoted context omitted.

Dreamhost is hugely underrated. Their custom panel with deep integrations are phenomenal for side projects or small businesses. In under a minute you can have your web server, SSL cert, database and more all setup and working - and you don’t have to manage any of it. I wish more companies offered their level of managed services. (If anyone knows of others, I’d like to hear who)

I think this is what Cloudflare Pages tries to solve You just connect your git repo and tell it what command to run to build your site and where the html output is

I really love Pages but for simple apps that are just PHP and MySQL - Pages doesn’t support that.

Re: Static site hosting hurdles

#50
post #35
post #25

Earlier quoted context omitted.

Dreamhost is hugely underrated. Their custom panel with deep integrations are phenomenal for side projects or small businesses. In under a minute you can have your web server, SSL cert, database and more all setup and working - and you don’t have to manage any of it. I wish more companies offered their level of managed services. (If anyone knows of others, I’d like to hear who)

FWIW I also tried NearlyFreeSpeech, which is the top comment in the same thread I linked: https://news.ycombinator.com/item?id=29253277 I think it is good, and will solve people's static hosting problem. It's a server that you don't have to manage. It has a nice fast custom web interface. Except I didn't realize it was FreeBSD. That probably doesn't matter for most, but I'm used to Linux, so I like Dreamhost better.…

As a long time (but very light) Nearly Free Speech user who is also more used to Linux, I'm curious if you ran into specific problems because of them using FreeBSD, or if it was just the general feeling of things being slightly different than you're used to (which is totally a valid reason to prefer something else, I'm just wondering if it was more than that)?
Post reply on HN