[CentOS] Apache: confusion about virtual hosts and DNS on a local network
nate
centos at linuxpowered.net
Sat Sep 19 13:20:08 UTC 2009
Niki Kovacs wrote:
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerAdmin info at microlinux.fr
> DocumentRoot /var/www/html/microlinux
> ServerName buildbox.presbytere.local
[..]
> <VirtualHost *:80>
> ServerAdmin contact at kikinovak.net
> DocumentRoot /var/www/html/kikinovak
> ServerName buildbox.presbytere.local
I think your issue is this, if these are different
virtual hosts I would set the ServerName to be
the name of the virtual host itself.
nate
More information about the CentOS
mailing list