Hostname, or host name, is the name of a device (computer) that is connected to a computer network and is used to identify that device in various forms of electronic communication.
A host name corresponds to the address of a device connected to a network. It is used in many naming systems, such as Network Information Service (NIS), Domain Name System (DNS), Server Message Block (SMB). For this reason, its meaning varies depending on which naming system is used.
On the internet, a hostname is a domain name assigned to a host computer.
It is usually a combination of a local host name and the name of its parent domain.
Such a hostname is resolved to its IP address through a local hosts file or a DNS resolver.