Wednesday, August 29, 2012

Rename a SharePoint Server machine name

Follow below procedure to rename the existing MOSS server

  • Change each alternate access mapping for your MOSS/WSS deployment in Central Administration: Browse to Central Admin > Operation > Alternate Access Mappings and change each link to new server name
  • Use following STSADM command to rename server

stsadm -o renameserver -newservername -oldservername

  • Now rename the machine / server on which you hosted SharePoint by right click on My Computer > Properties > Computer Name > Change
  • Then reboot the server
  • After reboot, open command prompt and run following command

stsadm -o updatefarmcredentials -userlogin -password -iisreset /noforce

  • Check all application pool identities in IIS and update if old machine name is still there.
  • If you already have a search index drops this, and rebuild it.
  • That’s it, Your server is now renamed.               

No comments:

Popular Posts


The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.