I installed the Apache. I created a directory with the name of my site:
and I configured the virtualhosts:
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org DocumentRoot /var/www/domain ServerName www.domain.com </VirtualHost>
When I access domain.com, the content appears not from the directory
/var/www/domain, but from
The problem was solved! Just add:
<directory /var/www/domain/htdocs> Options -Indexes </directory>
Thank you all!