Request a hostname
Create a private registry, then open Registry → Domains and request its hostname, such as npm.acme.com. The domain page shows a fresh ownership challenge and its expiry. Keep that page available while changing DNS.

Publish the DNS records
- Add the TXT record shown on the domain page at
_privatenpm-challenge.npm.acme.com. Copy its value exactly; it is unique to your request. - Point the registry hostname at the edge target provided for your installation using a CNAME. DNS providers may display the record name relative to your zone, so check the final fully qualified name.
- Return to the domain page to check verification and certificate status. Background verification continues while the challenge is valid. Wait until the domain is active and its certificate is ready before giving customers that URL.
If the challenge expires or the page reports failure, inspect the public TXT answer and request a fresh challenge through the domain management flow. Once active, update .npmrc to use the custom host for both the scoped registry and token line. See the configuration examples.