Domains and TLS
Fix DNS, certificate warnings, Cloudflare errors, 404s, redirect loops and a panel that does not answer.
Find what the domain's row, the browser or Cloudflare says, then apply the fix next to it.
DNS is Pending or Misconfigured
The domain's row names the record to fix, and Deplo checks again by itself.
| Status | The row says | Fix |
|---|---|---|
| Pending | This domain doesn't resolve yet. | Create the A record it prints. Still pending? It has not propagated, or points elsewhere |
| Misconfigured | Its A record points at 198.51.100.7, not this server. | Point it at the server the app runs on, not the panel's |
| Misconfigured, next to a correct A record | Its AAAA record points at 2001:db8::99, not this server. | Remove the AAAA, or point it at the server's IPv6 |
dig +short app.example.com # A record
dig +short AAAA app.example.com # AAAA record- Behind a CDN or another proxy? Turn on Behind a proxy in the domain's Advanced settings.
It keeps answering meanwhile.A domain that already served stays online while you fix the record. The Domain points elsewhere alert means the same.
See DNS states.
The browser shows a certificate warning
- Certificate is Let's Encrypt, not None (no certificate), in the domain's HTTPS group.
- Port 80 is open. Let's Encrypt checks over it.
- DNS points at the app's server, the AAAA record included.
- A free
deplo.siteaddress gets a certificate only on a public IP. - Still there? The browser may hold the old certificate: try a private window.
The panel's own address follows the same rules. Its backup address, behind NAT or a firewall, serves a self-signed certificate until port 80 opens.
The page says This site is not running
The app is stopped, or its last deploy failed. Start it, or see Deploys and builds.
The domain returns 404
The request reached the server, but no route matched.
- The app is stopped, or runs on another server than the one DNS points at.
- The status is not Valid or Proxied. Fix the DNS, or turn on Behind a proxy.
- A Compose app: the domain's Container is not the service that serves it.
- Two apps on one hostname, like
example.com/andexample.com/api: the longest path wins. Check Internal path and Strip path before forwarding on both rows.
The domain redirects in a loop
Usually Cloudflare's Flexible mode with an HTTPS redirect. Switch the zone to Full (strict), then click the refresh icon on the domain's row. Deplo follows Cloudflare's mode, which also changes the certificate by itself:
| Cloudflare mode | Deplo's certificate |
|---|---|
| Flexible | None |
| Full | Let's Encrypt, if it had none |
| Full (strict) | Let's Encrypt |
Activity records each switch, like Switched app.example.com to no certificate.
Cloudflare shows error 522
Cloudflare cannot reach the server. Usually the name has only an AAAA record and the server has no IPv6: add a proxied A record. Ports 80 and 443 closed on the server give the same error.
Automatic DNS refuses a domain
| Message | Fix |
|---|---|
app.example.com is part of example.com in Cloudflare. Connect example.com instead. | Connect the domain exactly as Cloudflare lists it |
This token reaches example.com in another Cloudflare account. | Disconnect it, then connect it with this token |
This token cannot manage Cloudflare Tunnels | Edit the connection with a token that has Cloudflare Tunnel: Edit |
app.example.com already has a A record in Cloudflare (203.0.113.99) | Delete it in Cloudflare, or pick another name |
app.example.com is not in a domain this Cloudflare token can reach. | Add the domain to Cloudflare, or give the token access to it |
- A teammate gets no automatic DNS: the connection's owner turns on Anyone in these teams can use it for that team.
- A record stays after removing the domain: another row on the same name, like
app.example.com/api, still uses it. - Use Cloudflare Tunnel did not change the record: Deplo switches only records it created.
See Automatic DNS.
A hostname cannot be added
| Message | Fix |
|---|---|
app.example.com is already routed by another team on this Deplo | A hostname belongs to one team. Remove it there first. Same when moving an app to another team |
app.example.com is under another team's preview domain on this Deplo | Same, for a team's preview 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 domain that has one, or add this one with no certificate |
belongs to other teams | Your own certificate covers it. An instance admin adds your team under Teams, on its row |
Your own certificate is not served
- The browser gets Let's Encrypt: set the domain's Certificate to Your own certificate.
No certificate covers this domain yet: none shared with your team names it. A wildcard covers one level:*.example.comcoversshop.example.com, noteu.shop.example.com.- It expired: nothing renews it. Upload the renewed one with Add certificate.
- It could not be installed: Activity names the server. Update Docker Compose there.
- Add certificate refuses it: it is expired or not valid yet, the key does not match or has a passphrase, or the chain is out of order: yours first, then the intermediates.
- Delete is refused: switch the domains it names to another certificate first.
See Panel address and certificates.
A free deplo.site address is missing or changed
- The app has none: Deplo found no port to route to. Add Domain, then Generate. On a Compose app, also pick the container.
- Its name changed: the server's IP changed. The free address follows after the next deploy; your own domains need their DNS record updated.
- It answers only from the server: the server is behind NAT. Forward ports 80 and 443 to it.
CORS, frames and the www redirect
- A cross-site call with cookies fails: Allowed origins sends no cookies across sites. Leave it blank and set the CORS headers in the app.
- Another site cannot show yours in a frame: turn off Security headers.
- No www redirect in the dialog: the hostname has no www or apex twin, like
app.example.com.
Every app on a server stops resolving names
A Compose app publishes 53:53/udp. Publish it on one address instead: 203.0.113.10:53:53/udp.
Cloudflare Tunnel cannot be turned on or off
- Turning it on is refused, naming a DNS record: that address already points elsewhere in Cloudflare. Delete the record, or pick another address.
- Turning it off fails: the new address cannot answer from the internet. Keep the tunnel, or pick a domain that reaches the server.
- The tunnel stays in Cloudflare after turning it off: Activity says what is left. Delete it under Zero Trust -> Networks -> Tunnels.
The panel does not answer
Try its backup address, like https://deplo-cb00710a.deplo.site. If it answers, fix the address
in Settings -> Deplo, or from the machine: see
Recovery. If both are silent, see
Servers and agents.
The installer warns the domain does not resolve here yet: point its A record at the server, wait for DNS, then run the installer again.
Did this page help you?