title: Host Multiple Sites on Apache with same IP and Port
body: <p>Trying to host multiple sites from the same Ubuntu Apache box. Same IP and Same Port. The differentiation being the host header or domain address. I could do this easy with IIS but I'd like to move to Apache.</p>
  
  <p>Right now with this code, every time I do a test with these URL's. I get pointed to the 1st URL even if I try a different URL. (I assume because it's the 1st Port 80 website). Everything works fine locally if your on the desktop of the Ubuntu server but not if your on a local desktop or internet. (These are my lab domain names.)</p>
  
  <p>My www.conf file that sits in /etc/apache2/sites-available. The same conf file shows in /etc/apache2/sites-enabled</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  DocumentRoot /var/www/dizydiz
  
  ServerName dizydiz.com
  ServerAlias www.dizydiz.com
  
  &lt;/VirtualHost&gt;
  
  ###
  
  &lt;VirtualHost *:80&gt;
  DocumentRoot /var/www/dizydiz2
  
  ServerName dizzydiz.com
  ServerAlias www.dizzydiz.com
  
  &lt;/VirtualHost&gt;
  
  ###
  
  &lt;VirtualHost *:80&gt;
  DocumentRoot /var/www/squeakerkiller
  
  ServerName squeakerkiller.com
  ServerAlias www.squeakerkiller.com
  
  &lt;/VirtualHost&gt;
  
  ###
  
  &lt;VirtualHost *:80&gt;
  DocumentRoot /var/www/dizydiz_legacy1
  
  ServerName old.dizydiz.com
  
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I am using another Ubuntu box in front of this Web box as a ProxyPass box.</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
       ServerName dizydiz.com
       ServerAlias www.dizydiz.com
       ServerAlias kb.dizydiz.com
       ServerAlias old.dizydiz.com
       ServerAlias squeakerkiller.com
       ServerAlias www.squeakerkiller.com
       ServerAlias dizzdiz.com
       ServerAlias www.dizzydiz.com
  
       ProxyPass / http://10.10.10.18/
       # ProxyPassReverse / http://10.10.10.18/
  
       # Uncomment the line below if your site uses SSL.
       #SSLProxyEngine On
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Thoughts?</p>