Renaming a Sharepoint 2007 / WSS 3.0 Server
I recently needed to rename my Sharepoint development machine so I could move it into a new collaborative development environment (versus standalone in a workgroup). A little searching turned up this tutorial[www.jjfblog.com] from a while back, which worked with a slight modification. I have reposted the contents of the tutorial below, with a slight modification (see original post and comments for details).
Note: The new collaborative environment uses Team Foundation Server 2008, so look for a later post on collaborative Sharepoint development using TFS.
First: Change each alternate access mapping for your MOSS/WSS deployment in Central Administration
Third: Rename your Server via Change Name Operation in Windows Server 2003
[added by Sharepointers]
Fourth: Use stsadm.exe to invoke the "updatefarmcredentials" command option
Note: The new collaborative environment uses Team Foundation Server 2008, so look for a later post on collaborative Sharepoint development using TFS.
First: Change each alternate access mapping for your MOSS/WSS 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 (this also include the mapping for Central Administration, don’t worry it's cool)
- 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 -newservername <newname> -oldservername <oldname>with the new and old names of your server:
stsadm -o renameserver
Third: Rename your Server via Change Name Operation in Windows Server 2003
- Now the last step is to simply right click on My Computer
- Open “Properties”
- Click on “Computer Name” tab
- Click “Change” button
- Input your new server name and reboot the server
[added by Sharepointers]
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]:
stsadm -o updatefarmcredentials -identitytype NetworkService
Comments
I just wanted to say that I really enjoyed your blog and this post. You make some very informative points. Keep up the great work!
-
Sharepoint Development