ISS domain redirect from old domain to new with subdomain

Default web.config file




Add this between <rules> and</rules>

<rule name=”domain_redirect” stopProcessing=”true”>
<match url=”(.*)” />
<add input=”{HTTP_HOST}” pattern=”^www\.olddomain\.de$” />
<action type=”Redirect” url=”{R:1}” redirectType=”Permanent” />


Replace olddomain and newdomain with your value and maybe change the www value to your subdomain.

Maintenance Website with Microsoft Azure Traffic Manager profiles

1. Create traffic manager profile



2. Add endpoints It is important that you add only web services from different locations!!!

3. Add the CNAME record on your DNS CNAME
4. If you need SSL/HTTPS you must configure all web services with the same domain and SSL certificate