title: Localhost is not working
body: <p>I spend a day this issue, and I can't fix it.</p>
  
  <p>Everytime I try to access to my localhost or by typing 127.0.0.1, the browser that I'm using is returning an error like : "Firefox can not find the server address at www.localhost.com."(i'm french, I translated the issue). </p>
  
  <p>The same issue occures in Google Chrome and with 127.0.0.1. I tried with XAMPP and WAMP, still nothing. My Apache httpd.conf seems good, I tried to change the port (8080, 81, 8800). It still not working. My Skype is not open nether VMware Workstation. There is no program blocking the access to port 80 or 443. </p>
  
  <p>I've made a ping test with the localhost and everthing is ok, but I can't access the index page of WAMP or XAMP.</p>
  
  <p>The weird thing is that I can access to localhost/phpmyadmin and other pages like that. </p>
  
  <p>I think my problem is in the hosts file of Windows, but it seems ok to me : </p>
  
  <pre><code># Copyright (c) 1993-2009 Microsoft Corp.
  #
  # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
  #
  # This file contains the mappings of IP addresses to host names. Each
  # entry should be kept on an individual line. The IP address should
  # be placed in the first column followed by the corresponding host name.
  # The IP address and the host name should be separated by at least one
  # space.
  #
  # Additionally, comments (such as these) may be inserted on individual
  # lines or following the machine name denoted by a '#' symbol.
  #
  # For example:
  #
  # 102.54.94.97 rhino.acme.com # source server
  # 38.25.63.10 x.acme.com # x client host
  
  # localhost name resolution is handled within DNS itself.
  # 127.0.0.1 localhost
  # ::1 localhost
  
  127.0.0.1 localhost
  
  ::1 localhost
  </code></pre>
  
  <p>Why am I thinking of the hosts file? Because my vhost in XAMPP and in WAMP are not working. Maybe I'm wrong, but this problem is driving me crazy! </p>
  
  <p>Thanks for the help</p>