Hallo.
I got a problem with my name-based virtual hosting. I have run the
apache2ctl -S, but the syntax-test return OK (see below).
If I try to connect through my ip-address(http://195.204.179.8). I
see/reach the default serverroot-page. That's correct. But when I try
dev.novita.no I got "Unable to connect to remote host." The dev.novita.no
points to 195.204.179.8
I can't find any http-request inside the logs too.
Can someone see where my problem is?
From my configuration files:
Listen 80
NameVirtualHost *:80
ServerName dev.novita.no
DocumentRoot /srv/www/vhosts/dev
ErrorLog /var/log/apache2/dev.novita.no-error_log
CustomLog /var/log/apache2/dev.novita.no-access_log combined
</VirtualHost>
ls -l /srv/www/vhosts:
drwxr-xr-x 3 he users 72 Jan 4 10:48 .
drwxr-xr-x 4 root root 96 Jan 4 13:26 ..
drwxr-xr-x 10 he users 304 Jan 3 13:09 dev
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
apache2ctl -S:
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
port 80 namevhost dev.novita.no
(/etc/apache2/vhosts.d/dev.conf:1)
SuSE 10
apache2-prefork-2.0.54-10
apache2-2.0.54-10
Cheers
Andreas H