Step One
Click the start menu and then click Server Manager.
Step Two
Click local server and then your computer name.
Step Three
Click Change
Step Four
Enter a computer name and then click OK
Step Five
Click OK
Step Six
Restart your computer and when the server restarts you will see that your hostname will be changed.