Iis – Redirect incoming requests to specific URLs in IIS 7

iisiis-7iis-7.5redirect

I found in IIS HTTP Redirect feature, but I can only redirect all incoming requests to specific destination. Is it possible to redirect incoming requests to specific URLs in IIS? For example:

my.domain.com/blog/about -> other.domainxyz.com/site/about
my.domain.com/blog/post/5 -> other.domainxyz.com/site/5

UPDATE

This is how web.config looks like:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
        <rewrite>
            <rules>
                <rule name="home" stopProcessing="true">
                    <match url="^$" />
                    <action type="Redirect" url="http://yojimbo87.github.com/" />
                </rule>
                <rule name="about" stopProcessing="true">
                    <match url="^Blog/About$" />
                    <action type="Redirect" url="http://yojimbo87.github.com/about/about.html" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

I havent't found URL Rewrite module among the Role Services although HTTP Redirection is there.

Best Answer

This rule will redirect SPECIFIC incoming request to specific URL:

<system.webServer>
    <rewrite>
        <rules>
            <rule name="Redirect Specific Page" stopProcessing="true">
                <match url="^blog/post/5$" />
                <action type="Redirect" url="http://other.domainxyz.com/site/5" />
            </rule>
        </rules>
    </rewrite>
</system.webServer>

UPDATE: I have merged them together -- just update it with real URLs:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
        <rewrite>
            <rules>
                <rule name="home" stopProcessing="true">
                    <match url="^$" />
                    <action type="Redirect" url="http://yojimbo87.github.com/" />
                </rule>
                <rule name="about" stopProcessing="true">
                    <match url="^Blog/About$" />
                    <action type="Redirect" url="http://yojimbo87.github.com/about/about.html" />
                </rule>
                <rule name="Redirect Specific Page" stopProcessing="true">
                    <match url="^blog/post/5$" />
                    <action type="Redirect" url="http://other.domainxyz.com/site/5" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>