/status/your-page on the main install. Three things have to line up. The first two are done in the app and at your DNS provider; the third is done once by whoever runs the server.
- Prove you own the domain (in the app, plus one DNS record).
- Point the domain at this server (DNS).
- Let the web server accept the domain and get a certificate for it (server setup).
1. In the app
Open Status pages → Edit on the page, enter the domain under Custom domain and save. The page then shows a TXT record to add:
Add it at your DNS provider and press Verify domain. DNS can take a few minutes to spread, so if the first try fails, wait and press it again.
The record is there so that nobody can claim a domain they do not control. Only a verified domain is ever served, and only one page can hold a given domain. You can delete the TXT record after verification; changing the domain later means verifying again.
2. DNS
Create aCNAME from status.example.com to the address this install runs on (the host in APP_URL), or an A record to the server’s IP.
If you use Cloudflare, either leave the record “DNS only”, or keep the proxy on and set SSL mode to Full (strict).
3. Web server and certificate
The server must answer for the new hostname and have a valid certificate for it. Everything the visitor sees on that host is the status page; the admin app, login and every other URL return 404 there.- Caddy (recommended)
- nginx
Certificates are automatic. Caddy fetches one the first time a domain is requested, as long as the app confirms the domain is real. That check is the Adjust the
/domain-check endpoint: it answers 204 for a verified domain with a public page and 404 for anything else, so Caddy cannot be talked into requesting certificates for arbitrary names.ask address to wherever the app answers locally. Set APP_URL to the install’s own address (https://status-admin.example.com) so the app knows which host is its own.What is and is not served on a custom domain
Visitors to a custom domain are never given a session cookie.
Troubleshooting
- “Not verified yet: no TXT record found.” The record is not visible to the server yet. Check the name carefully: many DNS providers want only
_azvian-verify.status(without the domain) in the Name field. - Verified, but the browser shows the main app or an error. DNS or the web server is not pointing at this install yet (steps 2 and 3).
- Certificate errors on a new domain with Caddy. Check that
curl 'http://127.0.0.1:8080/domain-check?domain=status.example.com'returns204. It will not until the domain is verified and the page is switched on. - The domain works but shows a 404. The page is switched off. Tick Public on the page.