3

Nobody can access the page of my site

view full story
linux-howto

http://serverfault.com – I installed the Apache. I created a directory with the name of my site: /var/www/domain and I configured the virtualhosts: <VirtualHost *:80> ServerAdmin webmaster@domain.com 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 /var/www. Why? The problem was solved! Just add: <directory /var/www/domain/htdocs> Options -Indexes </directory> Thank you all! (HowTos)