webzod
account

Install a certificate that covers this hostname on Caddy

tls.cert.wrong_host · effort: minutes

Why it matters

The certificate the server presents is issued for other names, so browsers show a name-mismatch warning and refuse to continue silently. This happens when the host was never added to the certificate, or when the server picks the wrong certificate for the name.

The fix

  1. Caddy issues a certificate for every hostname written as a site address in the Caddyfile. Add this hostname to the site address list and reload.
  2. The hostname's DNS record must point at this server and ports 80 and 443 must be reachable so Caddy can complete the ACME challenge.
Caddyfile
example.com {
	# your site configuration
}

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.