title: How to test sub-domains on my localhost on a mac?
body: <p>I have set up a web application on I am running it on my localhost. That is - <a href="http://127.0.0.1:8000/" rel="noreferrer">http://127.0.0.1:8000/</a>. I have set up sub-domains as well. For example, going to <a href="http://blog.127.0.0.1:8000/" rel="noreferrer">http://blog.127.0.0.1:8000/</a> should take me to the blog part. However, my browser does not recognize this and says server cannot be found. My OS is MACOSx</p>
  
  <blockquote>
    <p>If you want to test subdomains on your local host, you need your browser to resolve multiple subdomains as '127.0.0.1'. The way you do this depends on your OS. If you're using linux, you would edit /etc/hosts.</p>
  </blockquote>
  
  <p>I got this bit of info from another user, however, I have no idea how to do this on my Mac. Any help is appreciated.</p>