Answer the question
In order to leave comments, you need to log in
How to host multiple sites on one server?
I have a site in the /var/www/ folder, how can I tell apache + nginx that a completely different site will be in the /var/www/t4/ folder?
Answer the question
In order to leave comments, you need to log in
Maybe it's better to scatter both sites in different directories?
For example:
/var/www/site1
and
/var/www/site2
Otherwise, the second site will be accessible via a link to the first. Like this: site1/site2
In general, read about vhosts
make it in place
I have a site in the /var/www/ folder, how do I point apache + nginx to what is in the /var/www/t4/ folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question