All my domains from VirtualHost are redirected to same documentroot (the documentroot of 1st VirtualHost
here is the sample from httpd.conf:
But both site1.com and site2.com requests are redirected to /home/www/site1.com
What can be wrong?
here is the sample from httpd.conf:
Code:
<VirtualHost *:80> ServerName site1.com DocumentRoot /home/www/site1.com </VirtualHost> <VirtualHost *:80> ServerName site2.com DocumentRoot /home/www/site2.com </VirtualHost>
What can be wrong?


Comment