Caddy works! Congratulations.

This page is being served via your brand-new Caddy web server. To replace it, follow the steps below.

1. Where is this file?

The default site root is at /var/www/html. Drop your own index.html in there to take this place.

2. Point a domain

Create a DNS A record from your domain to the public IP of this server. Caddy will request an HTTPS certificate automatically on the first matching request.

3. Edit your Caddyfile

  1. Open /etc/caddy/Caddyfile in your editor of choice.
  2. Replace the default :80 block with a domain name and a route.
  3. Reload the configuration: sudo systemctl reload caddy.
Caddy will obtain and renew certificates from a public CA as long as the domain resolves to this host.

4. Verify

Visit your domain in a browser. If you still see this page, double-check the DNS record has propagated and the Caddyfile lists the same hostname.

srv-01.example.net