I have an issue with multiple virtual hosts on Apache2 on a default Turnkey Linux LAMP server (Debian Linux 6.0). They work fine, loading both websites, but not at the same time.
I have set up two new websites via the Webmin 1.590 interface Apache server configuration. This will automatically create links in sites-enabled and *.conf files in sites-available:
<VirtualHost *:80> DocumentRoot /var/www/retailtec ServerName retail-tec.nl <Directory "/var/www/retailtec"> allow from all Options +Indexes AllowOverride All </Directory> ServerAlias www.retail-tec.nl </VirtualHost>
<VirtualHost *:80> DocumentRoot /var/www/miki ServerName miki-business-software.nl <Directory "/var/www/miki"> allow from all Options +Indexes AllowOverride All </Directory> ServerAlias www.miki-business-software.nl </VirtualHost>
Both sites work, the config points to the correct folder and showing the correct content, but they will not load at the same time. After a reboot I load either http://www.retail-tec.nl or http://www.miki-business-software.nl and if I try opening the other site within 30s of opening the first site it will not show the site and give a 408 timeout. Then if I don't do anything for 30 seconds and then open the second site it will open it and not open the first site.
Do you have any idea what could be going on? I can't find any errors (apart from apache2:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName) in the apache2 errorlog, but I think this is unrelated.
Thanks in advance!