It's starting to become popular to run SharePoint in a virtual environment. As a result, many systems administrators are taking snapshots and cloning existing SharePoint servers. That’s great from an IT administrative perspective. It allows you a lot of flexibility to quickly recover if something goes wrong, you need to make virtual hardware adjustments, or want a duplicate environment for testing purposes. When carefully executed, you will have the ability to rename your server and retain a fully functional copy of your SharePoint site.
The First Step in the Process
- Duplicate the server
- Rename the server at the operating system level by using the System Properties dialog box in the Control Panel
- Restart the Server
- Ensure that any DNS entries are correct
Renaming a Server with SharePoint 2010
This process with use STSADM to rename the server
- Verify that you are a member of the local Administrators group on the local computer in order to run Stsadm.
- Open a cmd window AS ADMINISTRATOR (always do this whenever running stsadm commands – even if you are a local administrator)
- On the drive on which SharePoint Server 2010 is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\14\Bin\
- Type the following command, and then press ENTER: stsadm -o renameserver -oldservername-newservername
Executing the above command will rename the server and notify you that alternate access mappings will need to be updated.
Reconfigure your SharePoint 2010 Alternate Access Mappings
In order to get SharePoint Features working with the new server (and SharePoint site) names, the alternate access mappings must be updated to the name of the new server. This can be done in the SharePoint Central Admin Site.
- Central Admin (use the URL with the new machine name) -> System Settings ->Configure Alternate Access Mappings
- Ensure that the alternate access mappings reflect the new name of the server.
At this point, a majority of SharePoint’s functionality will be functioning properly. Performance Point, SSRS, and Excel Services should all be working.