I'm looking for a solution for a subdomain catch-all url in IIS Express.
Basically, I've looked around and found how to create domains/subdomains in IIS Express.
It was quite easy to find, and all I had to do was add another binding in the ApplicationHost.config for IIS Express, and change my hosts file to point 127.0.0.1 to the domain.
This is the IIS express config file:
<binding protocol="http" bindingInformation="*:80:domain.com" />
<binding protocol="http" bindingInformation="*:80:sub.domain.com" />
However, I couldn't find any way to create a catch-all URL. There might have been an over-sight from me somewhere, I even tried (maybe naively) *:80:*.domain.com
and *:80:*
.
Another question that I've searched but couldn't an answer to is binding IIS express to a catch-all url completely (as in, every request should pass through IIS Express for a specific port).
If it matters I'm using an ASP.NET MVC 3 application.