A hostname is a specific name assigned to a computer which can be used to easily identify it on a network.

  1. Click on the Apple icon.
  2. Click System Settings.
  3. Click General.
  4. Select Sharing from the list under General.

The Local Hostname will appear at the bottom of the Window.