title: Can IIS 7 request filters be used to deny a route for certain domains?
body: <p>I have a website setup in IIS 7.5 which has bindings to two domains names, for example:</p>
  
  <ul>
  <li>www.examplesite.com</li>
  <li>www.anothersite.com</li>
  </ul>
  
  <p>Which means someone visiting to either address in their browser would see exactly the same site.</p>
  
  <p>What I want to achieve is to <strong>deny requests</strong> to <code>/admin</code> for people visiting <code>www.examplesite.com/admin</code> - but for requests to <code>www.anothersite.com/admin</code> <strong>to go through</strong>.</p>
  
  <p>However when using the request filtering features in IIS, it only seems possible to apply the filtering to the URL excluding the domain name. Meaning that <code>/admin</code> would be denied for both domains.</p>
  
  <p><strong>Is this possible? If not through IIS 7.5 request filters, then what's the easiest alternative?</strong></p>