virtual hosts are ignored (fc6)
I configured httpd.conf for use of virtual hosts:
uncommented NameVirtualHost *:80
created virtual hosts:
<VirtualHost *:80>
DocumentRoot /var/www/html
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/vhosts/vundyn
ServerName vun.dynalias.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/vhosts/lekkah
ServerName lekkah.com
</VirtualHost>
The only page ever getting displayed is the default one on localhost. This is on Fedora Core 6, Apache 2.2.
Before, I've had the same virtual hosts running perfectly well on Apache 1.3 on my Mac, but I want it to work on Linux too.
Of course, I've read what is written on this page: VirtualHost Examples - Apache HTTP Server.
Could something have gone wrong with the configuration of the Apache server? Will I have less problems using SUSE?
Any help would be welcome. Thanx in advance.
restart: yes, and no errors reported
Yes, I restart httpd after every change, and no, no errors are being reported.
Everybody can check what's happening by visiting the following page, for example:
lekkah.com
If you don't get that page but the default page, you know I didn't manage to solve the virtual hosting problem yet.
What a headache!