@scottalanmiller said in Need: How-To Step-by-Step for Multiple WordPress sites on Ubuntu 20/22 LEMP:
@PhlipElder said in Need: How-To Step-by-Step for Multiple WordPress sites on Ubuntu 20/22 LEMP:
@PhlipElder said in Need: How-To Step-by-Step for Multiple WordPress sites on Ubuntu 20/22 LEMP:
Wow, talk about documentation fragmentation. 😞
We've installed Ubuntu 22 a number of times reaching various points towards the goal of hosting multiple WordPress sites in a single Ubuntu v22.04 (as of this writing) using one MariaDB instance with multiple databases set up within.
NGINX is set up and the server blocks are in place.
This last go-around we managed to get three sites up and running without issue. Once the fourth went in all of a sudden the server would only serve one of the sites no matter what URL was being requested.
Certificates are being handled by RapidSSL as a personal preference. We've not had any issues there.
Please and thanks.
And, crash and burn again. :0(
As soon as I install the second site the server only pushes the last one set up. sigh
I bet it is a matter of being in alphabetical order. That causes a lot of "mystery" issues in this kind of setup.
e41cb55e-8ce3-44bc-9655-be3ad311d3f1-image.png
I fat fingered it. The ">" at the end of the domain for server_name is what did it.
Since all of the setup files were copy and paste, whenever that got introduced it carried onwards.
Because of the wiring in my head when it happened the first time I didn't see it. So, I flattened everything and started fresh. When it happened the second time I took the time to look at the original reference server block because it was seemingly obvious that I'd done something.