title: virtual hosts WAMP server
body: <p>I am trying to setup virtual wamp localhost.</p>
  
  <p>Localhost<br>
  root folder: c:\wamp\www</p>
  
  <p>mysite.local<br>
  root folder: c:\wamp\site2</p>
  
  <p>Steps of every kind is already taken: removing # from file "httpd.conf"</p>
  
  <pre><code>#Include conf/extra/httpd-vhosts.conf
  </code></pre>
  
  <p>addition in  httpd-vhosts.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerAdmin webmaster@localhost
  DocumentRoot "c:/wamp/www"
  ServerName localhost
  ErrorLog "logs/localhost-error.log"
  CustomLog "logs/localhost-access.log" common 
  &lt;/VirtualHost&gt;
  &lt;VirtualHost *:80&gt;
  DocumentRoot "c:/wamp/site2"
  ServerName mysite.local
  &lt;directory "c:/wamp/site2"&gt;
      Options Indexes FollowSymLinks
      AllowOverride all
      Order Deny,Allow
      Deny from all
      Allow from 127.0.0.1
  &lt;/directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>addition in hosts file:</p>
  
  <pre><code>127.0.0.1    mysite.local
  </code></pre>
  
  <p>problem is, in either case i get to www root folder through localhost or mysite.local. ANy solution?</p>