Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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:

/etc/apache2/sites-available/retail-tec.nl.conf

<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>

/etc/apache2/sites-available/miki-business-software.nl.conf

<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!

share|improve this question
    
Both sites load concurrently and quickly for me in the UK. –  Iain Jan 2 '13 at 9:40
    
For me in Asia too. –  PratapSingh Jan 2 '13 at 9:41
    
Thank you! It does indeed seem to be related to something in the internal network and does indeed work when I try with my mobile over a 3G connection. Will hunt for it inside the network. –  Kenneth Verburg Jan 2 '13 at 12:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.