Custom domains
Available on the Cargo plan.
- Deploy first. The service needs a published port (it has an address to point at).
- Add the domain in the project page’s Custom domains section: pick the service, enter the hostname (
shop.example.com). OrPOST /projects/{id}/custom-domainswith{"service_name": "web", "hostname": "shop.example.com"}. - Create the CNAME it shows you at your DNS provider:
shop.example.com→ the target hostname. - Wait for “verified”. CargoForge checks the CNAME in the background and issues the HTTPS certificate once it’s there. That’s usually minutes; DNS can take longer.
Notes:
- The CNAME is the proof that you control the domain, so there’s no separate TXT record.
- If your DNS is on Cloudflare, set the record to DNS only (grey cloud), not proxied: a proxied record stops the certificate from being issued.
- An apex domain (
example.comitself) needs a DNS provider that supports CNAME flattening or ALIAS records.