title: How do I set up the hosts file for multiple domains/hosts with the same IP?
body: <p>As you surely know you can map host names to IP addresses with the "hosts" file. This is very useful especially when you are developing as you can change localhost for project1.</p>
  
  <p>That part is clear, but unfortunately I can't figure out how to set this up to open multiple projects with the same IP. I've tried a few things without success such as: </p>
  
  <pre><code>127.0.0.1/projects/project1  project1
  127.0.0.1/projects/project2  project2
  </code></pre>
  
  <p>I checked some related questions but I couldn't find an answer. So, can I accomplish what I'm trying to do somehow? Any suggestions?</p>