We have one site www.abc.com which is hosted on server A and a redirect has been set up on this server which redirect this site to www.xyz.com/reports. www.xyz.com is our sitecore site and having one page reports. Is there any way if we can point www.abc.com to www.xyz.com If traffic start reaching at out sitecore server we will handle redirect part from sitecore server itself.

Actually right now if we want to set up any redirect for www.abc.com we have to reach out to server A team so we just wanna remove this dependency.

Try with the following way

<rule name="Redirect url1" stopProcessing="true">
 <match url="^url1$" />
 <conditions>
      <add input="{HTTP_HOST}" pattern="^(www.)?example.com1$" />
 </conditions>
 <action type="Redirect" url="http://www.example.com/url2"
  appendQueryString="false" redirectType="Permanent" />

  • Basically we made DNS change for www.abc.com to point to www.xyz.com where Incapsula layer comes into picture so we have set-up redirect in Incapsula Thank you! – Sukhjeevan Sep 20 at 23:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.