Tuesday, 6 May 2014

URL Redirection if a web application is partially upgraded

 

URL Redirection if a web application is partially upgraded


This is a case where, not all site collections within sharepoint1.in or any other web applications are upgraded.

  1. Configure two Domain Name Services (DNS) Host entries.
  2. One for the source Web application which is MOSS (New host name – Sharepoint 2007.in) and the second for the SharePoint 2010 (destination) Web application (re-point the original host name).
  3. Example: if the source Web app was http://sharepoint.in/, you can re-point that to the new 2010 destination Web application and create a new DNS entry maybe http://sharepoint1.in/ and reconfigure the source Web application to use it.
  4. Setup the target Web application AAM redirection settings to redirect failed site collection lookups to the source Web application. There is no user interface for this. You should use the STSADM add zoneurl operation.

You must run this command from SP2010 powershell window

STSADM.EXE -o addzoneurl -url http://sharepoint.in -urlzone default -zonemappedurl http://sharepoint.in -redirectionurl http://sharepoint1.in


Note: to remove the redirection , run below command

STSADM.EXE -o addzoneurl -url http://sharepoint.in -urlzone default -zonemappedurl http://sharepoint.in



No comments:

Post a Comment