Curia Damiano blog

Insert my slogan here...

Renaming a SharePoint 2007 Server

Sometimes you have the need to rename a SharePoint server. In my case, it happened when I created a "template" virtual machine and had to "deploy" it to the variour developers involved in the project.

So in the end I wrote the steps necessary to do it:

  1. Change the alternate access mappings
    From the Central Administration, go to Operations | Alternate access mappings
    Change each internal url to point to the new server name
  2. Run stsadm to rename the server
    From a command line prompt, execute:
    1. cd "c:\program files\common files\Microsoft shared\web server extensions\12\bin"
    2. stsadm -o renameserver -oldservername OldServerName -newservername NewServerName
  3. Rename the server, and reboot the computer
    If you are cloning a virtual machine, I reccomend you to use NewSID 4.10 (as it's no more possible to download it from Microsoft website, you can also find a backup copy in the file New_Sid.zip)
  4. Update farm credentials
    From a command line prompt, execute:
    1. cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
    2. stsadm –o updatefarmcredentials –userlogin "NEWSERVERNAME\SharePointAdministration" –password "NewPassword"

More details in the article Rename a stand-alone server (SharePoint Server 2007).

Loading