Caddy is serving you

HTTPS by default · Automatic certificates

What you are looking at

This is the default fallback page served by Caddy when no site matches your request. It usually means the server is freshly installed, or your DNS is pointing here but no Caddyfile entry covers the requested hostname.

Point a name at this server

  1. Add an A record (or AAAA) at your DNS provider that points to this host.
  2. Wait for the record to propagate. Use dig +short yourdomain.tld to check.
  3. Add a site block to /etc/caddy/Caddyfile with the same hostname.
  4. Reload: sudo systemctl reload caddy.

Caddy will request a certificate from a public CA on the first request and renew it automatically while the service runs.

Useful resources

Reference manual at caddyserver.com/docs. Community forum at caddy.community.