I am looking for a solution for the catch subdomain URL in IIS Express.
Basically, I looked around and found how to create domains / subdomains in IIS Express.
It was pretty easy to find, and all I had to do was add another binding to ApplicationHost.config for IIS Express and change my hosts file to item 127.0.0.1 in the domain.
This is the IIS express configuration file:
<binding protocol="http" bindingInformation="*:80:domain.com" /> <binding protocol="http" bindingInformation="*:80:sub.domain.com" />
However, I could not find a way to create a URL for everyone. Perhaps I had an interception somewhere, I even tried (perhaps naively) *:80:*.domain.com and *:80:* .
Another question I was looking for, but cannot answer, is required for all IIS expressions for the full URL (as is the case, each request must go through IIS Express for a specific port).
If this is important, I am using the ASP.NET MVC 3 application.
Linkgoron
source share