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.

Advertisements

About Joseph Velliah
As a SharePoint Developer my professional interests tend to be technical and SharePoint focused. I run a blog at "SP RIDER" where you can expect to read HOW TOs and scenarios that I run into during my day to day job. I hope my posts will give back a little to the community that is helped me.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: