Domains and TLS
Fix DNS, certificate, routing, and panel access problems.
DNS is missing or points to the wrong server
The domain's row prints the record to fix, and Deplo re-checks it by itself.
| Status | Row says | Fix |
|---|---|---|
| Pending | This domain doesn't resolve yet. | Create the A record it prints, and the AAAA when the server has IPv6 |
| Misconfigured | A record points at 198.51.100.7, not this server | Point it at the server this app runs on, or remove it |
dig +short app.example.com # A records (IPv4)
dig +short AAAA app.example.com # AAAA records (IPv6)- A wrong AAAA breaks a correct A. Remove it, or point it at the server's IPv6.
- The app's server, not the panel's. An app running on server B needs its DNS pointing at B.
- Behind a CDN or another proxy? Turn on Behind a proxy in the domain's Advanced settings: Deplo then routes it without waiting for a DNS check.
Cloudflare shows error 522
Cloudflare cannot reach the server. Usually the hostname has only an AAAA record and the server has no IPv6. Add a proxied A record pointing at the server, or give the server an IPv6 first. Ports 80 and 443 closed on the server give the same error.
The browser shows a certificate warning
- Port 80 is open. Let's Encrypt validates over HTTP.
- DNS points at the app's server. Then re-check the domain.
- Certificate is Let's Encrypt, in the domain's HTTPS group.
- A generated
.deplo.sitename gets a certificate only on a public IP: nothing outside can validate a private one.
A custom certificate is not being served
- It never loaded: check the intermediate chain and that the key matches.
- Wrong server: certificates are per server. Add it to every server that runs the app.
- The domain's certificate is None: that domain serves plain HTTP only.
- It expired: nothing renews it. The server's Certificates tab warns for the last 21 days.
The domain returns 404
The request reached the proxy, but no route matched.
| Check | Why |
|---|---|
| Is the app running? | A stopped app has no container to route to |
| Is the domain on the right app? | One hostname can route by path, but each path must match |
| Is it Valid or Proxied? | Only those are routed, plus one with Behind a proxy on |
| Is it the right server? | DNS decides which machine receives the request |
| For a Compose app, is Container set? | The router needs to know which service |
The domain redirects in a loop
Usually Cloudflare's Flexible mode plus an HTTPS redirect. Deplo follows Cloudflare's SSL mode by itself, and re-checks it when you re-check the domain:
| Cloudflare mode | Deplo's certificate |
|---|---|
| Flexible | None |
| Full | Let's Encrypt, if it had none |
| Full (strict) | Let's Encrypt, also when Cloudflare shows error 526 |
Activity records each switch, like Switched app.example.com to no certificate. Prefer Full
(strict).
Two apps share a hostname
example.com/ and example.com/api may point at different apps: the longest matching path wins. If
the wrong app answers, check Internal path and Strip path before forwarding on both rows.
A hostname cannot be added
| Error | Fix |
|---|---|
app.example.com is already routed by another team on this Deplo | A hostname belongs to one team. Remove it there first |
app.example.com is under another team's preview domain on this Deplo | Same, for a team's preview base domain |
deplo.example.com is this Deplo's own address | The panel's address cannot serve an app |
This team has reached its limit of 50 Let's Encrypt domains | Remove a certificate-backed domain, or add this one with no certificate |
The panel is unreachable
Try its generated address, like https://deplo-cb00710a.deplo.site. If that works, fix the address
in Settings -> Deplo. If that is silent too, check from the server itself:
curl http://127.0.0.1:3000/api/health # the panel, past the proxy
docker ps
docker logs deplo-traefik
docker logs deplo-deplo-1
docker logs deplo-tunnel # only when the panel runs through a Cloudflare Tunnel
ssh -L 3000:localhost:3000 [email protected] # proxy down: from your machine, then open http://localhost:3000If the address itself is what broke, move it from the server with deplo recover panel-address:
see Break-glass recovery.
Next steps
Did this page help you?