Help me setup many websites on one VPS

AI-generated summary

hinhsymo seeks help setting up three Discourse websites on a single 2GB RAM VPS, referencing a third-party tutorial but encountering issues with the second site. Stephen advises against third-party methods and directs them to the standard install guide and the multisite configuration guide. neounix offers an alternative “one container per site” approach using the web.socketed.template.yml template, which isolates each site in its own container and routes traffic via Nginx reverse proxy to Unix domain sockets — noting this isn’t officially supported but is manageable and well-documented. hinhsymo requests a step-by-step link or guide to implement this setup.

Hi support !

i have one VPS 2G ram - i want to setup 3 website discourse on 1 VPS

i view link: How to Install Discourse Forum with Nginx on Ubuntu 16.04

Step 1 - Install Docker on Ubuntu 16.04
Step 2 - Install and configure discourse forum
Step 3 - Generate SSL Letsencrypt on Ubuntu 16.04
Step 4 - Install and configure Nginx as a reverse proxy for Discourse container
Step 5 - Discourse Web installer
Step 6 - Discourse additional configuration

i on website 1 => not on website 2 => error

Thank !

We don’t support third-party installation methods here.

You will need to follow the standard install then review the guide on multisite.

The way I do this, since I like simple, is the "one container per web site method with each container using a web.socketed.template.yml template so each app (container) works with the nginx reverse proxy.

Something like this, roughly:

Or, you can create all your containers first and do the entire nginx ssl (LetsEncrypt) part last, if you are feeling lucky.

This approach will take more disk space and memory but you will have the advantage of each web site running in it’s on isolated container.

I don’t think this method is “officially supported” but it’s easy enough to configure and support yourself, in my opinion. Setting up the socketed container is easy because you have an “official” Discourse template for this; and setting up the nginx reverse proxy to a unix domain socket is also well documented on the net (and there are some Discourse examples as well).

help me link step by step ?