- This same instrutction are all over the web, this is almost an exact copy from technet.
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 <newname> -oldservername <oldname>
- Rename your Server via Change Name Operation in Windows Server 2003:
- Start Menu | Control Panel | System, "Computer Name" tab, "Change" button.
- Input your new server name
·
I
SIf your machine the VM belongs to a Domain, then chang it to a WorkGroup first, after that add it again to the Domain. http://technet.microsoft.com/en-us/library/cc771844%28WS.10%29.aspx
- 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 <domainuser> -password <password>
- iisreset /noforce
- Check all application pool identities in IIS, update where the old machine name is still there.