Setting subdomain on Localhost?
- by RobVious
I'm trying to test a multi-tenant MVC application (in VS2012) locally by setting a subdomain on localhost.
The application is currently running on localhost:5252. I want to access it via both that address, and contoso.localhost:5252.
In my hosts file I added the following:
127.0.0.1 contoso.localhost
I'm using IISExpress... when I navigate to contoso.localhost locally, I just get the IIS page.
What am I doing wrong?