Using SuSE 10.0, Apache 2.0.54. Looked through the Apache online manual on setting up virtual hosts and created a vhosts.conf file - mostly copy/paste from a template (see listing below).
I have also set up bind on my LAN to resolve both "genesis" (IN A 192.168.1.65) and "linux-install" (IN CNAME genesis).
I restarted apache and bind daemons after changes to their respective files.
http://genesis works fine and shows index.html in "/home/www/html" but ... http://linux-install shows the same index.html as above instead of the directory listing of the Linux distribution tree I have installed @ /mnt/C.
I have tried replacing * with IP# but same result. Defining "linux-install" as A record - same result.
Any ideas/suggestions on could be missing in my setup?
================== begin vhosts.conf ==================
NameVirtualHost *:80
<VirtualHost *:80>
ServerName genesis.silverarc.biz ServerAdmin root@localhost
DocumentRoot /home/www/html/
ErrorLog /var/log/apache2/genesis-error_log CustomLog /var/log/apache2/genesis-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
<Directory "/home/www/html/">
Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName linux-install.silverarc.biz ServerAdmin root@localhost
DocumentRoot /mnt/C
ErrorLog /var/log/apache2/linux-install-error_log CustomLog /var/log/apache2/linux-install-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
<Directory "/mnt/C">
Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
</Directory>
</VirtualHost>
================== end vhosts.conf ==================
Thanks.