Skip to main content


Home Hostname

Hostname

(also host name, nodename, computer name, site name)

Hostname definition

A hostname is the label given to a device to identify it on a particular computer network. It can be freely selected by the host to organize devices by function — for example, “companymail” could denote the server responsible for handling the organization's email.

On the internet, hostnames are an integral part of the fully qualified domain name (FQDN) that maps devices in the Domain Name System (DNS). In addition to the hostname, FQDNs supply the required root labels, domain names, subdomain names, and other necessary information. The hostname is the left-most element of a FQDN — for example, “companyemail” is the hostname of the FQDN “companyemail.example.com.”

Finding your device’s hostname

  • Windows: To see the hostname of a device running Windows, simply enter “hostname” (without the quotation marks) in the command prompt.
  • OSX: You can find your device’s hostname by clicking “Share” in the “System settings” — the hostname will be displayed in the “Computer name” field.
  • Linux: You will see your device’s hostname after entering the command “hostname” (without the quotation marks) in the Linux terminal.