• 5 Posts
  • 31 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle




  • Instead of setting up one nginx for multiple sites you run one nginx per site and have the settings for that as part of the site repository.

    Doesn’t that require a lot of resources since you’re running (mysql, nginx, etc.) numerous times (once for each container), instead of once globally?

    Or, per your comment below:

    Since the base image is static, and config is per container, one image can be used to run multiple containers. So if you have a postgres image, you can run many containers on that image. And specify different config for each instance.

    You’d only have two instances of postgres, for example, one for all docker containers and one global/server-wide? Still, that doubles the resources used no?










  • Why are you worried about your site going down during traffic surge? Unless you’re running a critical service, there is no need to worry about this too much if it’s just your personal sites.

    Because it’s an important business website that would have severe consequences if it went down during traffic spikes (which it does get).

    With proper caching, your personal site can even tank traffics from reddit frontpage on a $5/mo vps.

    Yeah, I’m using Cloudflare, and I saw that Wordpress has a built-in caching option, but I couldn’t find any info on how well that protects sites from traffic surges.

    consider hosting it on platforms with autoscaling support such as netlify.

    Yeah but I need an SSG with the same capabilities as Squarespace to do that, and as mentioned in the OP, that doesn’t seem to exist.



  • Thanks for your input.

    wordpress.com’s hosting is pretty affordable.

    It’s more expensive than Squarespace which is a main reason I chose Squarespace in the first place. I created a test site today to experiment with Wordpress and it seems that Wordpress has as much or more functionality than Squarespace, but much of it is hidden behind 3rd party addons, which may or may not be free. And you basically have to look up articles for “how to do x on Wordpress”, whereas with Squarespace it’s build-in and easier to accomplish.

    So I think for people starting out, Wordpress is harder to use since you don’t even know what it’s capable of.

    Divi is more expensive than Oxygen, so if I use something other than Gutenberg it will probably be Oxygen.


  • Since you posted this into a self-hosting community…

    I have two other websites hosted on a $5 Hetzner server (that counts as self-hosted right?). I’ve been considering adding a Wordpress, Grav, or static site to it. But as mentioned in the OP, I have to worry about the site going down if it gets a traffic surge, so I’m thinking it would be safer and similarly/more affordable to host a Wordpress site with Hostinger or GreenGeeks. Am I wrong?

    Grab a Raspberry Pi, slap nginx proxy manager and ddclient into it, and point your domain to your home IP.

    I’m not likely to do that, for multiple reasons.