Updated: 05/13/2019 by Computer Hope

Alternatively referred to as a computer name or sitename, a hostname is the name of the computer you're currently logged into or visiting. Below is an example of a hostname, that is assigned to a computer connecting to the Internet using Comcast.

As can be seen in the above example, this hostname has the IP address (, "CO" for Colorado, and, which is the ISP hosting the customer.

When referring to an Internet web page or location a hostname is more often referred to as a domain name. Hostname is also a command that can be run on some versions of Microsoft Windows and Linux.

Should I use "host name" or "hostname" in my writing?

When referring to a computer on a network, "hostname" should be written as one word with no space.

Related pages

DNS, Host computer, Network terms, rDNS