We have 2 options to do this
1. Using Powershell
2. Using STSADM
STSADM :
1. Go to Computer properties and change the name of the computer
2. Open command prompt and go to 14 hive folder using STSADM utility execute the following command.
stsadm -o renameserver -oldservername
3. Open central administration from the IIS and change the alternate access mappings of Central admin site and any other existing site ( Change the url from Old Server name to New Server name ).
4. Restart server and check for Central admin site
POWERSHELL :
1. Open Sharepoint powershell command and execute the following command
Rename-SPServer [-Identity]
2. Go to Computer properties and change the name of the computer
3. Open central administration from the IIS and change the alternate access mappings of Central admin site and any other existing site ( Change the url from Old Server name to New Server name ).
4. Restart server and check for central admin site
NOTE : 1. If anything goes wrong with this process after restarting machine please run the Sharepoint wizard once to fix the issues automatically. 2. If you have multiple servers in the farm repeat the same steps for all the other servers.
Thank you !!!
No comments:
Post a Comment