Custom domains
Every web service and static site gets a free muerte.app URL, but production traffic usually lives on your own domain. This page covers adding a domain, the DNS records to publish, how TLS certificates are issued, and what to do about apex, subdomain, wildcard and proxied setups.
A custom domain is attached to a service. Muerte Cloud verifies DNS and requests a Let’s Encrypt certificate. A linked domain does not by itself confirm certificate readiness; check HTTPS separately. There is no charge for domains or certificates.
<name>.muerte.app URL. Both resolve to the same service and share the same TLS pipeline — handy for health checks, webhooks and internal tooling.Adding a domain#
- 1Open the service's Settings tabScroll to
Custom domainsand clickAdd domain. - 2Enter the hostnameType the exact hostname you want to serve —
example.com,www.example.comorapi.example.com. Add subdomains one by one; wildcards are configured separately (see below). - 3Publish the DNS records shownFor the root domain, use Cloudflare CNAME flattening with DNS only or ALIAS/ANAME if your provider supports an external hostname. For ALIAS/ANAME or CNAME flattening, also add the fresh ownership TXT token shown for this binding.
- 4Wait for verificationClick Check after DNS updates. Linked confirms the domain binding, not HTTPS certificate readiness. Propagation time depends on the DNS provider, TTL and caches.
DNS records#
Which record you publish depends on whether the hostname is an apex domain (example.com) or a subdomain (www.example.com, api.example.com).
| Field | Description |
|---|---|
| Subdomain | Publish a CNAME pointing at the service's default hostname, e.g. www CNAME my-service.muerte.app. TTL 300 is a good default. |
| Apex / root | For example.com in Cloudflare, create CNAME @ pointing to the service hostname and choose DNS only. Root CNAME flattening works without the proxy. Elsewhere, use ALIAS/ANAME if external hostnames are supported. |
| DNS provider requirements | If the provider cannot alias your root domain to an external hostname, choose a DNS provider with CNAME flattening or external ALIAS/ANAME support. You do not need to transfer your domain registration. MUERTE does not change nameservers automatically. |
Example zone
; Cloudflare root CNAME flattening, Proxy status: DNS only
example.com. 300 IN CNAME my-service.muerte.app.
; for ALIAS/ANAME or CNAME flattening: token from the CURRENT domain binding
_muerte-verification.example.com. 300 IN TXT "muerte-verification=<current-binding-token>"
; an optional subdomain needs its own domain binding
www.example.com. 300 IN CNAME my-service.muerte.app.TLS certificates#
Certificates are issued automatically by Let's Encrypt once ownership is verified, and rotated well before expiry. There is no certificate to upload and no key to rotate.
letsencrypt.org. Missing this line is the single most common cause of a stuck Verifying state:example.com. IN CAA 0 issue "letsencrypt.org"Wildcards#
This connection flow accepts exact hostnames such as example.com or app.example.com. Wildcard domains require a separate ownership and certificate-validation flow; these instructions do not provide that setup.
Cloudflare with DNS only#
Cloudflare can host your DNS without proxying application traffic. For the root domain, choose CNAME flattening and DNS only (the grey cloud). Muerte Cloud does not enable the proxy automatically.
| Field | Description |
|---|---|
| Root domain | Create CNAME @ pointing to the service hostname. Cloudflare flattens this record without enabling the proxy. |
| Ownership | For ALIAS/ANAME or CNAME flattening, add the fresh TXT token shown for this domain binding. A token from an older binding is not valid. |
| HTTPS | Keep DNS only during setup. Domain linked confirms routing, not certificate readiness; wait for issuance and test the HTTPS URL separately. |
Apex vs www redirects#
Add example.com and www.example.com as separate domain bindings and configure DNS for each. If you want one canonical URL, configure and test the redirect in your application; linking the two names does not create an automatic edge redirect.
Troubleshooting#
Learn more about the deploy pipeline in How deploys work or configure environment variables in Environment variables.