host name
The name a computer or container calls itself on a network.
In more detail
A host name is easier to remember than an address, and DNS turns it into one when a program connects. The name a machine calls itself need not match the names others use for it.
Examples
Inventory hosts are listed by host name, and host_vars files must be named exactly as the inventory spells the host.Each broker advertises its container name as its host name.Per-deploy values such as a hostname are config in the twelve-factor sense and belong in the environment, not in the code.In the browser: In a web address the host name is the part after the scheme, such as example.com in https://example.com/page. It is one of the three parts, with scheme and port, that make up an origin.Ingress rules match on host names such as app.fullstack.internal.In TLS the requested host name must match a name in the server's certificate. In SSH the name you connect to selects which host key is expected. Confirm which name a client actually used when a check fails.In Terraform: Providers often fill in a host name as an attribute once a resource exists, so it shows as known after apply in the first plan.Related terms
- inventory — The list of hosts Ansible may manage, arranged into groups and optionally carrying variables for each host or group.
- host_vars — A directory whose files hold variables for single hosts, each file named exactly as the host is spelled in the inventory.
- fact — A variable Ansible discovers about a host itself, such as its operating system, host name, memory or network addresses.
- DNS — The system that turns names such as learnsome.tech into IP addresses.
- advertised address — The host name and port a broker tells clients to use when they connect back to it, set in Redpanda with --advertise-kafka-addr.
- config — Everything about an application that varies between deploys, such as database addresses, credentials and hostnames.
- UTS namespace — The namespace that gives a process its own host name.
- Docker network — A virtual network Docker creates so containers can talk to each other and, if allowed, to the outside world.
- URL — A web address, such as https://example.com/docs, made of a scheme, a host, an optional port and a path.
- origin — The scheme, host and port a web page came from, such as https://app.example, which browsers use to decide what the page may access.
- Ingress — A Kubernetes object that describes how outside HTTP traffic reaches services inside the cluster, by host name and URL path.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
- hostname verification — The client's check that the name it asked to connect to appears in the server certificate.
- known_hosts — The file where the SSH client stores host keys it has accepted, one per server, to check them on later connections.
- certificate verification — The client's checks that a server certificate chains to a trusted authority, is in date, and names the host it asked for.
- server-side request forgery — An attack where a server is tricked into fetching a URL the attacker chose, reaching internal systems the attacker cannot reach directly.
- resource attribute — A value you can read off a resource's address, either an argument you set or one the provider fills in, such as local_file.greeting.id.
- known after apply — What a plan shows for a value that cannot exist until apply, such as an identifier or checksum the provider will generate.
Taught in
- Ansible Architecture And The Control Node — Ansible Configuration Management at Scale
- Your First Ad Hoc Command — Ansible Configuration Management at Scale
- The Static Inventory File — Ansible Configuration Management at Scale
- Host Groups And Host Variables — Ansible Configuration Management at Scale
- Dynamic Inventory — Ansible Configuration Management at Scale
- Gathering Facts — Ansible Configuration Management at Scale
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography
- Config And Backing Services — DevOps & Site Reliability Engineering
- Namespaces And Cgroups: Isolation And Limits — Docker Architecture & Production Containers
- Bridge Networks, DNS And Container Communication — Docker Architecture & Production Containers
- Define The Service And Database With Compose — Docker Architecture & Production Containers
- How Browsers Work: Navigation, DNS, TCP, TLS And Request Timing — Frontend Architecture & Web Platform
- Same-Origin Policy, CORS Preflight, Credentials And Headers — Frontend Architecture & Web Platform
- Kubernetes Ingress, Routing & TLS Termination — Production Full-Stack Engineering
- Three Brokers: Replication And Leaders — Apache Kafka & Event Streaming
- How Thick Is The Wall? Isolation Techniques — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Four Alerts, One Incident: Observability And The Mesh — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Cluster's First Birthday: PKI And Connectivity — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Platform Sprint: Evidence, Order, Proof — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Certificates, Chains And What A Handshake Proves — Linux Fundamentals & Systems Administration
- SSH: The Protocol, And The Host Key You Accept — Linux Fundamentals & Systems Administration
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services
- Exam Strategy: Order, Verify, And The Docs You May Use — Red Hat Certified System Administrator (EX200) Exam Prep
- Logins, su, sudo And SSH Between Hosts — Red Hat Certified System Administrator (EX200) Exam Prep
- nmcli: IPv4 And IPv6 That Survive The Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Host Names And Name Resolution — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 1: Eighteen Tasks, One Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 2: Real Machines And The Ten Costly Mistakes — Red Hat Certified System Administrator (EX200) Exam Prep
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- Server-Side Request Forgery — Application Security & Threat Modeling for Engineers
- Writing Your First Configuration In HCL — Infrastructure as Code with Terraform
- Providers: How Terraform Reaches Every API — HashiCorp Terraform Associate (004) Exam Prep
- Where Modules Come From — HashiCorp Terraform Associate (004) Exam Prep
- Runs In HCP Terraform: The cloud Block And Remote Execution — HashiCorp Terraform Associate (004) Exam Prep
- Collaboration And Governance: Teams, Policies, Registry And Health — HashiCorp Terraform Associate (004) Exam Prep
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Down Until Morning: Unit Files, Drop-ins, Masks And systemd's Helpers — CompTIA Linux+ (XK0-006) Exam Prep
- Clocks, Names, Addresses And Pages: The Services Every Depot Runs — CompTIA Linux+ (XK0-006) Exam Prep
- The Certificate That Expired On A Sunday: Hashes, Encryption And Certificates — CompTIA Linux+ (XK0-006) Exam Prep
- The Assistant Was Confident: Reviewing AI-Generated Code, Prompts And Data — CompTIA Linux+ (XK0-006) Exam Prep
- Patched On Paper: Missing Updates, Broken Chains, Old Protocols And Open Doors — CompTIA Linux+ (XK0-006) Exam Prep
- Review: The Habits Behind The 102 Misses — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
- Static Inventories: Hosts, Groups And Groups Of Groups — RHCE in Ansible (EX294): Automate Red Hat Systems
- Inventory Variables: Ranges, group_vars And host_vars — RHCE in Ansible (EX294): Automate Red Hat Systems
- Facts And Magic Variables: Let Each Node Describe Itself — RHCE in Ansible (EX294): Automate Red Hat Systems
- RHEL System Roles: timesync And selinux From A Collection — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 1: Seven Tasks Across Three Sections — RHCE in Ansible (EX294): Automate Red Hat Systems
References
- man7: hostname(7)
- Docker networking overview
- Kubernetes: Ingress (hostname wildcards)
- RFC 1123: host names
- RFC 1123: Requirements for Internet Hosts: Application and Support
- References: values not yet known
Certification courses
- CCDAK and CCAAK course and practice exams: Confluent Apache Kafka certifications
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- RHCSA course and practice exam: Red Hat Certified System Administrator (EX200)
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)
- CompTIA Linux+ course and practice exam: XK0-006
- LPIC-1 course and practice exam: Linux Administrator (101-500 and 102-500)
- RHCE course and practice exam: Red Hat Certified Engineer in Ansible (EX294)