Hosting 3 WordPress Sites on one Google Cloud Virtual Machine
I have 3 virtual machines on Google cloud. Each running a wordpress site. To cut on costs, I want to move site2 and site3 into a vm that contains site1.
I have configured apache virtual hosts for the 2 extra sites and created 2 directories /var/www/site2 and /var/www/site3.
However the challenge now is to log in to each of the wordpress instances so as to migrate the backup files to the sites.
Everytime I try to access the wordpress instances by visiting vm1-ipaddress/site2/wp-admin it gives a result that this is not found.
Every other apache config looks fine. What could I be doing wrong?
I first configured apache virtual hosts for the 2 extra sites.
Then I created directories to hold the sites.
I installed latest version of wordpress and extracted the files.
It looks okay.
My apache configs look okay.
Read more here: Source link
