Skip to content

    Hostname

    Reading time: 2 min.Editorially reviewed on:

    Definition

    A hostname names a computer or network endpoint and can be used for address resolution.

    A hostname is a name for a host in a network. It can be used locally or as part of a fully qualified domain name. Name resolution assigns appropriate address information to it. The hostname is neither a complete URL nor necessarily associated with exactly one IP address.

    Simply explained

    A comprehensible name helps to address a network service without having to enter its numerical address directly.

    Why it matters in practice

    Hostnames are important for understandable configurations and service assignments but must be uniquely resolvable in the respective naming context used.

    Example from business

    A possible example: An internal system is addressed under a fixed name while its technical IP address can be changed during a relocation.

    Limits and pitfalls

    • A short hostname can only work in the appropriate local context. Name resolution, reachability, and certificate assignment are different checks.

    Origin & history

    Before distributed DNS, hostnames were assigned to central address tables. The hierarchical domain name system made managing growing networks more flexible.

    Use in mid-sized companies

    • An operation documents the names of important services and checks name resolution and actual connection from the intended networks during relocations.

    Frequently asked questions

    Is a hostname a URL?

    No. A URL contains additional components such as protocol and possibly path; the hostname can only form its host part.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice