So You Want to Define a Well-Known URI
- Web Standards
- Infrastructure
- Security
- AI
The post is a guide to defining a so-called well-known URI, meaning a standardized path under `/.well-known/` that software can probe for metadata or a capability. It argues that these endpoints are useful when clients need a predictable place to discover something on a domain, but they are costly because they occupy shared global names, interact badly with some hosting models, and tend to live forever once shipped. The author’s practical advice is to register them only when the use case is common enough, specific enough, and hard to solve better with existing web or DNS mechanisms.
If you are designing service discovery or verification for your product, treat `/.well-known/` as a scarce shared namespace and register only narrow, broadly reusable endpoints. For company-specific verification and agent metadata, compare DNS, HTML link relations, and content negotiation before minting another web-root convention that others will have to support forever.
- mnot.net
- Discuss on HN