Change the Hostname on OS X

The PC or Mac machine you are using carries itself a sort of name or identifier, called the hostname. This name is especially important in networks, where you can identify a machine not only by its address, but also by that name.

You can either change the hostname on OS X by clicking through the settings, or by the nerdy way. Just open a new terminal window and type:

sudo scutil --set HostName [hostname]

A restart of the machine make sense afterwards to fully propagate the new name on the other network members.