i'm trying to setup correctly a vhost under apache2. I'm running Suse 11.3.
What i'm trying is:
Add row to /etc/hosts
127.0.0.1 my.vhost.domain
Create file.conf under vhosts.d
<VirtualHost *>
DocumentRoot "/srv/www/vhosts/my.vhost.domain"
ServerName my.vhost.domain
</VirtualHost>
This is listen.conf
Listen 80
<IfDefine SSL>
<IfDefine !NOSSL>
<IfModule mod_ssl.c>
Listen 443
</IfModule>
</IfDefine>
</IfDefine>
The server is in the intranet of the company where i work.
If i try to access from browser to the ip of the server all working fine. If i try to access to the host specified in vhost it response me with "Unknow Host".
What am I forgetting?
Thanks!!!