Start with service responsibilities

If an API has its own owner and access policy, give it a hostname that remains useful when infrastructure changes. A single site with only one editorial team may be simpler if a guide area stays under a path.

Three connected metal server blocks with violet status lights
Every hostname needs an owner, an intended audience and a lifecycle.

Decide who should reach it

Map public documentation, authenticated application traffic and private testing as separate audiences. Put access controls in the service responsible for authentication; naming the host “staging” does not make it private.

Record lifecycle information

Keep the hostname, service owner, DNS target, certificate owner and date in an inventory. Agree who approves changes to redirects or certificates and who makes the record safe when the service ends.