Renaming a SharePoint 2007 / WSS 3.0 Server

First: Change each alternate access mapping for your MOSS deployment in Central Administration

  1. Open Central Administration
  2. Click on the “Operations” Tab
  3. Click on the “Alternate access mappings” link under the “Global Configuration” heading
  4. Modify each mapping item to reflect your newly chosen server name, making sure to keep port numbers the same

Example

Change moss2007 to moss2007backup

Second: Use stsadm.exe to invoke the “renameserver” command option

  1. Open a command prompt window and navigate to the folder where stsadm.exe sits. Normally “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”.
  2. Use the renameserver command as follows, replacing and with the new and old names of your server:

Example
stsadm -o renameserver -newservername moss2007backup -oldservername moss2007

Third: Rename your Server via Change Name Operation in Windows Server 2003

  1. Right click on My Computer
  2. Open “Properties”
  3. Click on “Computer Name” tab
  4. Click “Change” button
  5. Input your new server name and reboot the server

Fourth: Use stsadm.exe to invoke the “updatefarmcredentials” command option

  1. Open a command prompt window and navigate to the folder where stsadm.exe sits. Normally “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”.

Type in the following command and press [enter]:

stsdm -o updatefarmcredentials -userlogin Domain\administrator -password abcdefg

Note: After the command completes, you may need to run iisreset, using the /noforce option and restart the server.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.