title: Why do I need to edit the hosts file to make my ASP.NET projects work properly with IIS?
body: <p>This is the way I have been taught:</p>
  
  <ol>
  <li>Add the website IIS and point to the ASP.NET files.</li>
  <li><p>Add the host name within IIS and an example of this would be:</p>
  
  <p>myAspProject.local.co.uk</p></li>
  <li><p>Add the same host name in the host file and an example of this would be:</p>
  
  <p>127.0.0.1 myAspProject.local.co.uk</p></li>
  </ol>
  
  <p>Why do I need to edit this host file like I have above? Could you please explain the story from the point the user enters the URL in the browser.</p>