Rename SharePoint Host Headers and Change Database Server Name
I currently have a SharePoint 2007 demonstration setup on a development environment. The SharePoint 2007 installation was originally setup for a specific client. So the host headers, computer name and farm credentials contained the client name. This all had to be changed. Carrying out another installation of SharePoint was something I did not want to do since I wanted to retain all the dummy data and sites.
You might be thinking: Why don’t I just change the host headers with the new client name? Well that’s because I am a bit OCD and I like everything to be consistent. 
To rename, carry out the following. But remember to carry out these steps exactly because you might come across the problem I did where I couldn’t get to Central Admin or view my Intranet:
- Go to Central Admin > Operations > Alternate Access Mappings.
- Change the host headers as required.
- If you changed the name of the server carry out the following command:
stsadm -o renameserver -oldservername <oldname> -newservername <newname>
- Rename the server to a new server name by going to My Computer > Properties > Computer Name and restart.
- After restart you will need to update the farm login credentials since the computer name has been changed from Steps 3 and 4. If you do not update the farm credentials, you will get the dreaded “Cannot connect to database” message when trying to view your Intranet.
stsadm -o updatefarmcredentials -userlogin <domain\user> -password <password>
- Change the site names in IIS. This site names will need to reflect the changes you made in Step 1.
- Change the host headers in the host file (C:\Windows\System32\drivers\etc\hosts).

Since the middle of 2008 we have seen that quite a few business have been hard hit by the recession we are currently experiencing. Things are set to get worse in 2009. Who would have thought that out of all the businesses in the world that the Microsoft monopoly would somehow be effected. I was quite surprised to read speculation across the web that for the first time ever in Microsoft's 33 year history, 15,000 of its employees across US and overseas divisions could be laid off and 3,000 UK employees face an uncertain future.
What a way to start the new year with some free software (and I am talking the legal way). I found that my current PC Internet Security was soon to expire. Instead of renewing my existing Bullguard licence, I decided it was time for a change after being a loyal three year customer mainly because the yearly fee was starting to get a bit too expensive compared to other packages on the market.


