Skip to content

Free games, apps and software, straight from official sources

RSS
Caddy logo

Caddy Web Server: Automatic HTTPS Out of the Box

Caddy · for Linux, Windows and macOS

Developer: Caddy project (opens in a new tab)

Open source
  • Linux
  • Windows
  • macOS
DownloadFrom the official source · Linux, Windows and macOS (opens in a new tab) Official website (opens in a new tab)

The download link points to the program’s official source; the file is not hosted on this site. Link address: caddyserver.com

Link not working? Let us know
What is the problem?

Your report goes only to the site’s editor; we never ask for your name or address.

Caddy is a free, open-source web server that enables HTTPS automatically, using certificates from public ACME CAs such as Let's Encrypt or ZeroSSL. Official packages exist for Debian, Ubuntu, Fedora and Arch, plus static binaries and a Docker image.

2 min read

Setting up HTTPS used to be a separate chore. Caddy builds it in: point a domain at your server, name it in the Caddy configuration, and Caddy obtains and renews the certificate on its own.

Automatic HTTPS, in practice

  • Public domains get certificates from a public ACME CA. By default Caddy tries Let’s Encrypt first and falls back to ZeroSSL.
  • Renewal is automatic; failed attempts are retried with backoff for up to 30 days.
  • HTTP to HTTPS: once automatic HTTPS is active, Caddy redirects port 80 to 443 by default.
  • Local sites such as localhost get certificates from Caddy’s own local certificate authority, whose root it installs into your trust store where permitted.

Installation options

  1. The Download button opens the official installation docs on caddyserver.com.
  2. Debian, Ubuntu and Raspbian: install the official package, which sets Caddy up as a systemd service named caddy.
  3. Fedora, RHEL and CentOS: dnf copr enable @caddy/caddy, then dnf install caddy.
  4. Arch and Manjaro: pacman -Syu caddy.
  5. Docker: docker pull caddy.
  6. Static binaries for other systems come from the download page or GitHub releases. Homebrew, Chocolatey and Scoop packages are community-maintained.

For production, the docs recommend the official package for your distribution where one exists.

Who should consider it

Caddy suits site owners on a VPS who want HTTPS without separate certificate tools, and developers who want trusted HTTPS on local projects. If you already run nginx or Apache, Certbot adds certificates to those servers instead. Compare with nginx for large, established setups.

Pros

  • HTTPS certificates obtained and renewed automatically
  • Trusted local HTTPS for development
  • Official packages set it up as a service

Cons

  • Homebrew, Chocolatey and Scoop packages are community-maintained
  • Smaller ecosystem of guides than nginx or Apache

Frequently Asked Questions

Do I need Certbot with Caddy?

No. Caddy obtains and renews certificates itself from public ACME CAs such as Let's Encrypt or ZeroSSL.

Can Caddy serve HTTPS on localhost?

Yes. For local and internal hosts, Caddy uses its own local certificate authority and installs its root certificate into the local trust store where permitted.

Certbot

Certbot from the EFF gets free HTTPS certificates from Let's Encrypt and renews them. Snap install on Linux, Apache and nginx setup, port 80 rules.

Open source

  • Linux
  • macOS
  • Windows

nginx

Get nginx from nginx.org: when to choose the stable or mainline branch, where the Linux packages are, and why nginx for Windows is a beta.

Open source

  • Linux
  • Windows
  • macOS

Sublime Text

Sublime Text is a fast code editor for HTML, CSS, PHP and more. You may evaluate it for free, but continued use needs a licence; personal vs business.

Trial

  • Windows
  • macOS
  • Linux

Apache HTTP Server

The Apache project releases httpd as source code only. Where Windows users get binaries (Apache Lounge, WampServer) and how to verify official downloads.

Open source

  • Linux
  • Windows
  • macOS