Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Caddy on a VPS

Caddy is an open-source web server and reverse proxy that obtains and renews TLS certificates automatically, configured with a short, readable Caddyfile.

512 MBMinimum memory
Ubuntu 24.04 LTSBase image
80/tcp, 443/tcp, 443/udpPorts
Apache-2.0License

About Caddy

Caddy is an Apache-2.0 web server written in Go. It gets and renews certificates for your domains automatically, speaks HTTP/1.1, HTTP/2 and HTTP/3, and proxies to backends in a few lines of Caddyfile.

That makes it a natural front door on a CloudSat VPS: point a domain at the server, name it in the Caddyfile, and HTTPS is handled. A JSON admin API allows live config changes.

On Ubuntu, Caddy runs as the caddy systemd service with its config in /etc/caddy/Caddyfile.

What you get with Caddy

  • Automatic HTTPS with certificate renewal
  • HTTP/1.1, HTTP/2 and HTTP/3
  • Reverse proxy with load balancing and health checks
  • Static file server with compression
  • JSON config API for live changes

Caddy use cases

  • Put HTTPS in front of a self-hosted app in minutes
  • Serve a static site with zero certificate chores
  • Route several subdomains to different containers

After you deploy Caddy

  1. When the server is up (Running in the console), SSH in as root and open /etc/caddy/Caddyfile.
  2. Replace the placeholder site with your domain, for example a block containing reverse_proxy localhost:3000.
  3. Point the domain's DNS at the server, then apply with systemctl reload caddy; Caddy fetches the certificate itself.
  4. If a certificate request fails, follow the logs with journalctl -u caddy.

Caddy ports

Open these in your firewall if you use one: 80/tcp HTTP and ACME challenges, 443/tcp HTTPS, 443/udp HTTP/3.

Caddy FAQ

What does Caddy need for automatic HTTPS?

Two things: a domain with DNS records resolving to the server, and inbound ports 80 and 443 reachable from the internet. Caddy then requests and renews certificates on its own.

Where are Caddy's logs?

With the official package, Caddy runs under systemd and writes to the journal; read it with journalctl -u caddy --no-pager.

Disclaimer. The Caddy project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Caddy on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back