Blogging about SharePoint related stuff
Renaming a MOSS server is meticulous job. If anything goes wrong along the way chances are that you need to reconfigure your whole MOSS environment.
Here are the steps to take, and the order in which to take them if you want to rename a server that has MOSS already installed and configured on it:
*** NOTE: Use only letters, digits and minus for the machine name (so no underscores), max 15 characters.
- Change each alternate access mapping for your MOSS/WSS deployment in Central Administration:
- Open Central Administration, "Operations" Tab, "Alternate access mappings" link
- Modify each mapping item to reflect your newly chosen server name
- Use stsadm.exe to invoke the "renameserver" command option:
- Open a command prompt window
- cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
- stsadm -o renameserver -newservername <newname> -oldservername <oldname>
- Rename your Server via Change Name Operation in Windows Server 2003:
- Start Menu | Control Panel | System, "Computer Name" tab, "Change" button.
- Input your new server name
- Reboot the server NOW.
- After reboot, open command prompt
- cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
- stsadm -o updatefarmcredentials -userlogin <domainuser> -password <password>
- iisreset /noforce
- Check all application pool identities in IIS, update where the old machine name is still there.
- If you already have a search index drop this, and rebuild it
Your server is now renamed.
About Mirjam
Mirjam van Olst works as a lead SharePoint developer at Macaw in the Netherlands. She started working for Macaw in April 2004. Before that she had her own company (
Van Olst Websolutions) with which she build web applications.
Mirjam has specialized in SharePoint development since June 2004. She started working with the 2007 Office system in may 2006. She has implemented several world-wide intranet environments based on SharePoint. She also gives presentations about MOSS 2007 on a regular basis and occasionally writes articles about MOSS related subjects.