title: Virtual Host in XAMPP
body: <p>I have XAMPP running on Windows. My whole Partition E is the DocumentRoot, and I have configured it all to listen to 127.0.0.1 instead of localhost for performance issues. I can reach my projects with 127.0.0.1/project1 for stuff that lies on E:\project1. Works fine.</p>
  
  <p>My hosts file looks like this:</p>
  
  <pre><code>127.0.0.1 localhost
  127.0.0.1 127.0.0.1
  </code></pre>
  
  <p>Now I'd like to setup a virtual host for a different customer, and it should listen to a different address in the browser, like 'new.server'. Also, it should look in a different directory: f:/newserver.
  I'd like to reach these new projects with new.server/project2 for stuff on f:/newserver/project2/</p>
  
  <p>I have tried this in the httpd-vhosts.conf</p>
  
  <pre><code>&lt;VirtualHost new.server:80&gt;
      ServerName new.server
      DocumentRoot "F:/newserver"
      &lt;Directory "F:/newserver"
      Order allow,deny
      Allow from all
      &lt;/Directory&gt;
      ErrorLog "logs/newserver.local-error_log.log"
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>But things don't work out. I've changed stuff around the conf file but really have no idea what to do, so I'd like to ask for enlightenment.</p>