IIS7 Url Rewrite/Subdomain Frustration

Discussion in 'Windows / IIS' started by deadbattery, Jul 11, 2010.

  1. I have frustrated myself over this for far too long and I have tried all of the examples I can find and I just can't seem to get it to work. Or ANY URL Rewrite for that matter. /sigh

    I am trying to show the web app in the subdirectory blog when someone requests blog.deadbattery.com. I DO NOT want the URL in the browser to show up as www.deadbattery.com/blog but instead as blog.deadbattery.com.

    Can anyone give me some insight into using IIS7 URL Rewrite to accomplish this successfully?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Those are examples just like the ones I tried but all I get is The Web server is configured to not list the contents of this directory. It doesn't redirect or rewrite to the blog application, it stays at the root location. Is it possible I have something else configure wrong?
     
  4. mjp

    mjp

    Well, it's always possible that something else is misconfigured, but in this case it's probably your rewrite code.

    Have you tried setting it up using IIS Manager? Check out this blog post.
     

Share This Page