I'm trying to double check to see if a redirect rule is correct. I have a site "mysite.com". I have another site "productname.com" that is a dns redirect to "mysite.com". When a user goes to "productname.com", I'd like to have them go to a particular page on "mysite.com".
Can someone see if this is correct?
<rule name="productname.com" stopProcessing="true"> <match url="(.*)"/> <conditions> <add input="{HTTP_HOST}" pattern="productname.com"/> </conditions> <action type="Redirect" url="https://www.mysite.com/products/productname/" redirectType="Permanent" appendQueryString="True"/></rule>