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

  • Open Central Administration
  • Click on the “Operations” Tab
  • Click on the “Alternate access mappings” link under the “Global Configuration” heading
  • 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

  • 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”.
  • 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

Rename your Server via Change Name Operation in Windows Server 2003

  • Right click on My Computer
  • Open “Properties”
  • Click on “Computer Name” tab
  • Click “Change” button
  • Input your new server name and reboot the server

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

  • 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.