Sunday, May 16, 2010

How to rename SharePoint Server?

Sometimes you may need to rename your Computer Name where SharePoint is installed. This also applies to Virtual Machines. I recently tried to do this, but after doing that, I found that SharePoint is not working. So I need to do few activities to bring it back, which I have been listed below:

Step 1: Rename my Computer/Server from My Computer -> Properties -> Computer Name - Change... -> Restart

Step 2: stsadm –o renameserver

Step 3: stsadm –o updatefarmcredentials

Step 4: Restart IIS

Step 5: Update all identity accounts(basically machine names) in IIS

Step 6: stsadm.exe -o setconfigdb

Step 7: All Programs -> Microsoft Office Server -> SharePoint Product and Technologies Configuration Wizard

Step 8 Open Central Admin and change Alternate Access Mappings, wherever applicable.

You are done. I found few other steps also while goggling. But the above steps work for me. The following references may help in case there are some issues: