We have a IIS7 on Windows Server 2008. It is hosting a handful of sites, on a handful of ip addresses. 2 of those sites are actually wildcards on the domain:


However, I am finding that any URL Rewrite rules I add for one of these "websites", is automatically in the URL Rewrite section for the other. Similarly, if I disable the rule in in one, it disables in the other.

This doesn't happen with the other sites defined on this server, just these two. I look at the parent (top level, the server as a whole), and the rule is not there. Any idea what's going on here?

1 Answer 1


I discovered what was going on here. I hadn't mentioned in my question that the base-folder for both of the websites above was the same - the two different domains host the same apps as each other, they just have different white labels. I didn't realize these re-write rules were saved by writing them to the web.config - instead, I thought they were saved in some other IIS7 config file independent of the site itself. So, since they are sharing base folders, they were sharing webconfigs, which meant they were sharing rules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.