A hostname is the concatenation of a computer's name and a domain name (computername.domainname.com). The role of a hostname is to increase readability since it's easier to remember than an IP address. In many situations, hostnames and IP addresses are considered interchangeable simply because all hostnames are linked to IP addresses.