npx skills add ...
npx skills add render-oss/skills --skill render-domains
Configures custom domains and TLS certificates on Render—DNS setup, CNAME records, apex domains, wildcard domains, and certificate troubleshooting. Use when the user needs to add a custom domain, configure DNS, set up HTTPS/TLS, troubleshoot certificate issuance, disable the onrender.com subdomain, or add a wildcard domain. Trigger terms: custom domain, DNS, CNAME, TLS, SSL, HTTPS, certificate, apex domain, wildcard domain, onrender.com, domain verification.
npx skills add render-oss/skills --skill render-domains
Render automatically provisions and renews TLS certificates (via Let's Encrypt and Google Trust Services) for all custom domains. All HTTP traffic is redirected to HTTPS. Custom domains work on web services and static sites only.
*.example.com)example.com) and www (www.example.com)onrender.com subdomain after adding a custom domainWorkspace plans include a limited number of custom domains. Adding domains beyond the included allowance incurs an additional cost. Confirm current allowances and charges at Render pricing or in the Dashboard.
app.example.com)Adding a www subdomain automatically adds the root domain (and vice versa) with a redirect between them.
Add a DNS record with your provider pointing to your Render service:
| Domain type | Record type | Name | Value |
|---|---|---|---|
Subdomain (app.example.com) | CNAME | app | <service>.onrender.com |
Apex (example.com) on Cloudflare | CNAME (flattened) | @ | <service>.onrender.com |
| Apex on other providers | A | @ | Use Render-provided IP (see Dashboard) |
Important: Remove any AAAA (IPv6) records for your domain. Render uses IPv4, and stale AAAA records cause unexpected behavior.
Provider-specific guides:
Click Verify in the Dashboard. If verification fails, DNS may not have propagated yet—wait a few minutes and retry.
Speed up verification by flushing DNS caches:
After verification, Render issues a TLS certificate automatically.
Wildcard domains (*.example.com) route all matching subdomains to one service.
Requires three CNAME records:
| Name | Value | Purpose |
|---|---|---|
* | <service>.onrender.com | Routes traffic |
_acme-challenge | <service-id>.verify.renderdns.com | Let's Encrypt validation |
_cf-custom-hostname | <service-id>.hostname.renderdns.com | Cloudflare DDoS validation |
Cloudflare users: If you add *.example.com without adding the root domain to Render, disable proxying (gray cloud) for the root domain to avoid routing conflicts.
If your domain has CAA records, add entries for Render's certificate authorities:
Without these, TLS certificate issuance fails silently.
onrender.com SubdomainAfter adding at least one custom domain, you can disable the default onrender.com subdomain:
onrender.com URL receive a 404Custom domains are specified in the domains field:
Blueprint domains only declare the domain association. You still need to configure DNS with your provider manually.
| Mistake | Fix |
|---|---|
| AAAA records present | Remove all IPv6 AAAA records for the domain |
| CAA records blocking issuance | Add letsencrypt.org and pki.goog entries |
| Verifying too quickly | Wait 2-5 minutes for DNS propagation, then flush caches |
| Cloudflare proxy + wildcard without root domain | Disable proxying (gray cloud) for the root domain |
| Trying to add domain to a private service | Custom domains only work on web services and static sites |
| 502 after verification | Routing rules are updating — wait a few minutes |
| Document | Contents |
|---|---|
references/dns-configuration.md | Provider-specific DNS setup, apex domain options, TTL recommendations |
domains field in render.yaml