I have multiple websites supposed to run each with its own domain (e.g.
The operative directories of each website are dedicated subfolder in
/var/www/html/site1 /var/www/html/site2 /var/www/html/site3
The virtual host for each website is something like
<VirtualHost *:80> ServerName site1.com ServerAlias www.site1.com DocumentRoot /var/www/html/site1 <Directory /var/www/html/site1> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
with a dedicated config file in
and the default config disabled with
others website are configured in a similar way with
<VirtualHost *:80> ServerName site2.com ServerAlias www.site2.com DocumentRoot /var/www/html/site2 </VirtualHost>
When I open
www.site1.com rather than showing index in its
/var/www/html/site1/index as supposed,
It shows the index in main root at
Could someone help he to understand the issue?