title: Change my hosts file to route to a folder and not an ip
body: <p>Fairly new freelance developer and I'm looking to add a local version of a website im working on for a dev environment.</p>
  
  <p>I've got my localhost set up. </p>
  
  <pre><code>127.0.0.1 localhost
  </code></pre>
  
  <p>The syntax that I was using but is evidently not correct is</p>
  
  <pre><code>127.0.0.1/wordpress blahblahsite.ca
  </code></pre>
  
  <p>What route should I take to preserve my localhost, but have blahblahsite.ca route to my local folder and not the live site?</p>