I'm using Visual Studio 2010 with Web Development Tools. I have an ASP.net Web-Application and under project-settings using "Local IIS webserver" with project URL "http://localhost/test.mywebapp.com". This ends up in IIS under "Default WebSite".
Now when I run my webproject from within visual studio, it opens a browser with the uri like "http://localhost/test.mywebapp.com/index.aspx" - so far so good.
Now I need to access this page from another application. As a simple test, let's say I want to open a tab "test.mywebapp.com/index.aspx" in my browser and make it reach the the page runing in the debugger. I added an entry "127.0.0.1 test.mywebapp.com" to the win32/etc/hosts file. Now I open the URI in my browser, but I land at the "default" IIS7 page and not my webpage.
I tried adding a binding for the "Default Website" to test.mywebapp.com", but then it opens under test.mywebapp.com/test.mywebapp.com/index.html - also not correct...
I'm obviously missing some step mapping my URI to the correct WebSite, but I don't know how this is called or what to google for...
Any ideas?