I would like to simulate that my ASP.NET application is hist by say simdomain.com.
How can i do that easily?
Ideally I would like some kind of filter, so requests to certain domains are routed to localhost, and it should be easy to turn it on and off.
Edit the hosts file.
notepad c:\windows\system32\drivers\etc\hostsAdd the following line:
127.0.0.1 simdomain.com
Open IIS admin and add a ‘simdomain.com’ website. So it knows the domain.