Thursday, October 9, 2008

Renaming a MOSS Server

Here is the step to rename the moss server that is already configure it.

  • 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 -oldservername
    • 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 -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