Redirect all requests to one domain to another domain. If you are doing this because you are moving content to a new domain and abandoning the old one, then for SEO purposes this redirect should be Permanent (301).

To redirect all requests to one domain to another domain, add the following rule to web.config’s <rules> section:

			<rule name="Redirect to new domain" stopProcessing="true">
			    <match url="(.*)" />
			        <add input="{HTTP_HOST}" pattern="" />
			    <action type="Redirect" url="{R:1}" redirectType="Permanent" appendQueryString="true" />

This would cause all requests to http(s)://(www.) to be redirected to

Why Lose Memories?