Change hostname in Windows 7
The hostname and the computer name are the same. You change it by right clicking on Computer on the Start Menu, selecting Properties, pressing Advanced System Settings on the left, selecting the Computer Name tab, pressing Change..., entering your new name, and rebooting the machine when asked.