Hello list.
I've got a configuration problem on an apache 1.3.27 server.
The server has two nics. One to the web and the other one to my Lan.
Here is the virtual host section of http.conf:
NameVirtualHost Address1
NameVirtualHost Address2
<VirtualHost Address1 Address2>
ServerAdmin
webmaster@domain1.de
DocumentRoot /srv/www/dir
ServerName
www.domain1.de
ServerAlias
www.domain.intranet
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
</VirtualHost>
<VirtualHost Address1 Address2>
ServerAdmin
webmaster@domain2.de
DocumentRoot /srv/www/dir2
ServerName
www.domain2.de
ServerAlias www2.domain.intranet
ErrorLog /var/log/httpd/error2.log
CustomLog /var/log/httpd/access2.log common
</VirtualHost>
CheckSpelling On
So
www.domain1.de,
www.domain2.de and
www.domain.intranet
works as expected.
On access www2.domain.intranet I got the site of
www.domain.intranet.
Where can be the problem?
My internal DNS got an A-record for
www.domain.intranet
and a CNAME record for www2.domain.intranet
Ping and nslookup are Ok.
Thanks in advance for your advices.
Best regards.
Dirk Emmermacher