title: VIrtualHost: Different hosts point to the same location
body: <p>I am trying to set virtual hosts for two Zend Framework applications. I started by changing the <code>system32 hosts</code> file.  </p>
  
  <p>It contains the following lines now:  </p>
  
  <pre><code>127.0.0.1           localhost
  #   ::1             localhost
  127.0.0.1           quickstart
  </code></pre>
  
  <p>After that, I proceeded with changing the <code>httpd-vhosts.conf</code> file. Its current content:  </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin postmaster@dummy-host2.localhost
      DocumentRoot "G:\workspace\Andrew\ProjManer\public"
      ServerName localhost
      ServerAlias localhost
      ErrorLog "logs/localhost-error.log"
      CustomLog "logs/localhost-access.log" combined
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      ServerAdmin postmaster@dummy-host2.localhost
      DocumentRoot "G:\workspace\Andrew\quickstart\public"
      ServerName quickstart
      ServerAlias quickstart
      ErrorLog "logs/quickstart-error.log"
      CustomLog "logs/quickstart-access.log" combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>If I don't add the virtual host with localhost first, I get a <code>"Access forbidden 403 Error message"</code>.<br>
  The problem now is that both point to the same location, the localhost. How am I supposed to get the second virtual host working? I used the <code>flushdns</code> also.</p>