What the style guides say
“host name” or “host-name”
2 of 20 open style guides have a rule about “host name” or “host-name.” Both say to write “hostname” instead.
Write this instead
- hostname 2 guides
Red Hat, AMD ROCm
Guide by guide
- Red Hat host name → Write hostname Terms warnings · warning
- AMD ROCm host-name → Write hostname SPELL-004 · warning
- AMD ROCm host name → Write hostname SPELL-004 · warning
No rule names it in Google, Microsoft, GitLab, Grafana, Elastic, Datadog, Splunk, Salesforce, Docker, Canonical, Apify, Spectro Cloud, DigitalOcean, SUSE, Foundries.io, Albert Heijn, 18F, GOV.UK. That doesn’t mean those guides approve of it, only that no rule lists it.
Guides that ask for it
One guide’s fix can be another guide’s error. These rules tell writers to use “host name”.
Catch it in every draft
Each line above is a rule one of these organizations publishes for Vale, an open-source linter for prose. Install a guide’s rules and Vale flags the term wherever it appears, in your editor and on every pull request.