Answer the question
In order to leave comments, you need to log in
How to configure apache to run multiple sites on the same ip?
There is a server with Centos 6. The /var/www/html directory contains the following directories site1, site2, ....., siteN. How to configure access to this site as follows? http://192.168.0.10/site1, 192.168.0.10/site2 etc.
Answer the question
In order to leave comments, you need to log in
This is called an alias. In the apache config you writeAlias /site1/ /var/www/html/site1/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question