title: IIS Express catch-all Subdomain url
body: <p>I'm looking for a solution for a subdomain catch-all url in IIS Express.</p>
  
  <p>Basically, I've looked around and found how to create domains/subdomains in IIS Express.</p>
  
  <p>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.</p>
  
  <p>This is the IIS express config file:</p>
  
  <pre><code>&lt;binding protocol="http" bindingInformation="*:80:domain.com" /&gt;
  &lt;binding protocol="http" bindingInformation="*:80:sub.domain.com" /&gt;
  </code></pre>
  
  <p>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) <code>*:80:*.domain.com</code> and  <code>*:80:*</code>.</p>
  
  <p>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). </p>
  
  <p>If it matters I'm using an ASP.NET MVC 3 application.</p>