Prashant Kumar

Prashant Kumar

  • 212
  • 8.8k
  • 3.2m

How redirect Domain URL using URL Rewrite in IIS,

Apr 20 2017 8:05 AM
Hello All,
 
Kindly suggest us to write a rule for redirecting SharePoint URL to office 365 site only for domain page (web Application) not for other site under that or subsite.
 
Example: www.test.com/sites/pages/default.aspx to https://www.abc.com/sites/pages/default.aspx.
 
On the first URL of SharePoint should not redirect other site pages under the webapplication or site collection page.
 
If user want to access:  www.test.com/sites/pages/team.aspx it should be redirect to original site not to office 365.
 
Thanks, 

Answers (3)