Monday, February 6, 2012 8:46

Change Computer Name Of Sharepoint Server

Posted by on Wednesday, December 2, 2009, 9:56
This news item was posted in SharePoint category and has 2 Comments so far.

A new and really cool feature in MOSS 2007 and WSS 3.0 that my team here at Vorsite and I are very happy about is that now you can quickly and easily change the name of a server running MOSS or WSS 3.0 after installation has taken place and site collections have been created. Before with SPS 2003 it was a near impossible challenge but now in MOSS you can use a nifty stsadm.exe command to do most of the heavy lifting.

Here are the steps to do this in MOSS 2007 or WSS 3.0:

First: Change each alternate access mapping for your MOSS/WSS deployment in Central Administration

  1. Open Central Administration
  2. Click on the “Operations” Tab
  3. Click on the “Alternate access mappings” link under the “Global Configuration” heading
  4. 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)

Second: Use stsadm.exe to invoke the “renameserver” command option

  1. 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”.
  2. Use the renameserver command as follows, replacing <newname> and <oldname> with the new and old names of your server:

    stsadm -o renameserver -newservername <newname> -oldservername <oldname>

Third: Rename your Server via Change Name Operation in Windows Server 2003

  1. Now the last step is to simply right click on My Computer
  2. Open “Properties”
  3. Click on “Computer Name” tab
  4. Click “Change” button
  5. Input your new server name and reboot the server

Now your server is renamed and all MOSS/WSS web applications and site collections should work perfectly fine.

This article is from http://www.jjfblog.com. Also you can get a Chinese version from http://blog.joycode.com

2 Responses to “Change Computer Name Of Sharepoint Server”

  1. yutyui
    8 August, 2011, 1:43

    :cry: :evil: :-P :( 8-O :twisted: :twisted: :twisted: :twisted: :twisted: :mrgreen:

  2. Mani
    2 February, 2012, 20:27

    Hi, 
    Good article. I have a doubt. In the same machine if my SQL Server instance also running, whether I need to rename the server name there using SP_DropServer and SP_AddServer stored procedures. If so I need to change it before restarting the machine?

Leave a Reply

You can leave a response, or trackback from your own site.