Hostname

A hostname is a label that identifies a hardware device, or host, on a network. Hostnames are used in both local networks (LANs) as well as wide area networks like the Internet.

Local network hostnames don't have a standard format, but they cannot contain spaces and other special characters like commas, periods, and apostrophes. For example, if your name your Mac, "Mike's iMac", the hostname will automatically be translated to "Mikes-iMac.local". If you're a Mac user, you can customize your computer's hostname by modifying the computer name in the Sharing System Preference. If you use a Windows PC, you can modify your hostname by changing the computer name within the System Control Panel.

Internet hostnames are simply domain names, like techterms.com. They are typically fully qualified domain names, such as www.techterms.com or ftp.techterms.com, since each subdomain is a different hostname. However, if a website URL does not include a domain prefix like "www," then the domain name itself (e.g. "techterms.com") can serve as the hostname.

In both local networks and wide area networks like the Internet, hostnames are translated to IP addresses using DNS. Either a local or remote DNS server maps each hostname to a unique IP address, which is how the device is actually identified on a network. Therefore, hostnames are simply used as human-readable labels, which makes it easy to remember names of devices on a network and websites on the Internet.

Updated November 12, 2016 by Per C.

quizTest Your Knowledge

How is the goodput of a file transfer calculated?

A
Transmitted file size ÷ time to transfer the file
0%
B
Total transmitted data ÷ time to transfer the file
0%
C
Number of packets ÷ total transfer time
0%
D
Number of collisions ÷ total transfer time
0%
Correct! Incorrect!     View the Goodput definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Hostname on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.