title: Default localhost can't be accessed after installing virtual hosts on WAMP
body: <p>I'll really appreciate a little help with a problem I have been struggling with all day long...  I installed WordPress locally using WAMP and everything worked fine. I created a folder inside  C:/wamp/www an named it wordpress. 
  I was able to access localhost only by typing localhost on the browser's URL and I accessed the site typing localhost/wordpress/ BUT when I decided to install another wordpress website I faced a problem.  I created a second folder inside www, named it joanaweb and followed the steps of this tutorial: <a href="http://www.marolinedesign.com/tutorials/how-to-install-more-than-one-wordpress-site-on-your-local-wamp-server/" rel="nofollow">http://www.marolinedesign.com/tutorials/how-to-install-more-than-one-wordpress-site-on-your-local-wamp-server/</a> PLUS I removed the # before Include conf/extra/httpd-vhosts.conf located on httpd.conf which  wasn't mentioned in the tutorial.
  After this the first website was accessed as before while the second by typing joanaweb....BUT i  couldn't access localhost anymore :( I got just a 403 Error. In this website <a href="http://www.apptools.com/phptools/virtualhost.php" rel="nofollow">http://www.apptools.com/phptools/virtualhost.php</a>  at the end of the article I found a solution but it isn't working for me :/ They suggested using:</p>
  
  <pre><code>&lt;VirtualHost 127.0.0.1&gt;
  DocumentRoot C:\Apache\htdocs
  ServerName localhost
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Since I have htdocs located on another folder I used this code on httpd-vhosts.conf </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  DocumentRoot "C:/wamp/bin/apache/apache2.4.9/htdocs/"
  ServerName localhost
  ServerAlias localhost
  ErrorLog "logs/localhost.log"
  CustomLog "logs/localhost.log" common
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
  DocumentRoot "C:/wamp/www/joanaweb"
  ServerName joanaweb
  ServerAlias joanaweb
  ErrorLog "logs/joanaweb.log"
  CustomLog "logs/joanaweb.log" common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>What am I doing wrong??</p>
  
  <p>Also this is all the code inside my hosts file(after the comments): </p>
  
  <pre><code>127.0.0.1       localhost
  ::1             localhost
  
  127.0.0.1        localhost
  127.0.0.1        localhost
  127.0.0.1        localhost localhost
  127.0.0.1        localhost wordpress
  127.0.0.1        localhost joanaweb
  127.0.0.1        localhost lifestylepro
  127.0.0.1        localhost xxxxxTranslations
  </code></pre>
  
  <p>And this is the code inside httpd-vhosts.conf :</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin webmaster@dummy-host.example.com
      DocumentRoot "c:/Apache24/docs/dummy-host.example.com"
      ServerName dummy-host.example.com
      ServerAlias www.dummy-host.example.com
      ErrorLog "logs/dummy-host.example.com-error.log"
      CustomLog "logs/dummy-host.example.com-access.log" common
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      ServerAdmin webmaster@dummy-host2.example.com
      DocumentRoot "c:/Apache24/docs/dummy-host2.example.com"
      ServerName dummy-host2.example.com
      ErrorLog "logs/dummy-host2.example.com-error.log"
      CustomLog "logs/dummy-host2.example.com-access.log" common
  &lt;/VirtualHost&gt;
  
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/wamp/www"
      ServerName localhost
      ServerAlias localhost
      &lt;Directory  "C:/wamp/www"&gt;
          AllowOverride All
          &lt;IfDefine APACHE24&gt;
              Require local
          &lt;/IfDefine&gt;
          &lt;IfDefine !APACHE24&gt;
              Order Deny,Allow
              Deny from all
              Allow from 127.0.0.1 localhost ::1
          &lt;/IfDefine&gt;
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/wamp/www/wordpress"
      ServerName wordpress
      ServerAlias wordpress
         &lt;Directory  "C:/wamp/www/wordpress"&gt;
          AllowOverride All
          &lt;IfDefine APACHE24&gt;
              Require local
          &lt;/IfDefine&gt;
          &lt;IfDefine !APACHE24&gt;
              Order Deny,Allow
              Deny from all
              Allow from 127.0.0.1 localhost ::1
          &lt;/IfDefine&gt;
      &lt;/Directory&gt;
      ErrorLog "logs/wordpress.log"
      CustomLog "logs/wordpress.log" common
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/wamp/www/joanaweb"
      ServerName joanaweb
      ServerAlias joanaweb
         &lt;Directory  "C:/wamp/www/joanaweb"&gt;
          AllowOverride All
          &lt;IfDefine APACHE24&gt;
              Require local
          &lt;/IfDefine&gt;
          &lt;IfDefine !APACHE24&gt;
              Order Deny,Allow
              Deny from all
              Allow from 127.0.0.1 localhost ::1
          &lt;/IfDefine&gt;
      &lt;/Directory&gt;
      ErrorLog "logs/joanaweb.log"
      CustomLog "logs/joanaweb.log" common
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/wamp/www/lifestylepro"
      ServerName lifestylepro
      ServerAlias lifestylepro
         &lt;Directory  "C:/wamp/www/lifestylepro"&gt;
          AllowOverride All
          &lt;IfDefine APACHE24&gt;
               Require local
          &lt;/IfDefine&gt;
          &lt;IfDefine !APACHE24&gt;
              Order Deny,Allow
              Deny from all
              Allow from 127.0.0.1 localhost ::1
          &lt;/IfDefine&gt;
      &lt;/Directory&gt;
      ErrorLog "logs/lifestylepro.log"
      CustomLog "logs/lifestylepro.log" common
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/wamp/www/xxxxxTranslations"
      ServerName xxxxxTranslations
      ServerAlias www.xxxxxTranslations
      &lt;Directory  "C:/wamp/www/xxxxxTranslations"&gt;
          AllowOverride All
          &lt;IfDefine APACHE24&gt;
              Require local
          &lt;/IfDefine&gt;
          &lt;IfDefine !APACHE24&gt;
              Order Deny,Allow
              Deny from all
              Allow from 127.0.0.1 localhost ::1
          &lt;/IfDefine&gt;
      &lt;/Directory&gt;
      ErrorLog "logs/xxxxxTranslations.log"
      CustomLog "logs/xxxxxTranslations.log" common
  &lt;/VirtualHost&gt;
  </code></pre>