Im trying to create a rewrite redirect rule to redirect the user to a specific file hosted in the same site but served using a different domain but for some reason its not working. Ive never used the iis rewrite tool so perhaps im doing it wrong. Currently i have
<rule name="CityAndGuildsSiteMapRewrite" stopProcessing="true">
<match url="ilm.local/(sitemap_website.xml)" />
<action type="Redirect" url="http://cg.local/{R:1}" />
</rule>