title: How to use subdomains with localhost on IISExpress?
body: <p>I'm serving my MVC app locally via localhost:5252 right now.  </p>
  
  <p>I'm trying to set up my app to test multi-tenancy by having both localhost and contoso.localhost point to my web app instance.  </p>
  
  <p>I set up my hosts file with the corresponding entry: </p>
  
  <pre><code>127.0.0.1       contoso.localhost
  </code></pre>
  
  <p>However I'm not sure what else I need to do to make this work.  Right now I just get a standard IIS8 page when I navigate, even though I haven't done anything in IIS Manager.  </p>
  
  <p>I'm trying to avoid having to use IIS locally, as everything is working with IISExpress.  Is there any easy way to achieve this?</p>