The hostname is used to distinguish devices within a local network. In addition, computers can be found by others through the hostname, which enables data exchange within a network
The hostname is a freely selectable name for a host. However, if a computer needs to be available over the internet as well as locally, the hostname needs to be supplemented by information that indicates what part of the internet the computer is located in.
Example of usage – “If mycomputer.city.company.com is the fully qualified domain name, either of the following may be considered the hostname: mycomputer.city.company.com mycomputer”