---
title: "Caddy web server with auto HTTPS on a VPS · CloudSat"
description: "Deploy Caddy on a CloudSat VPS: an open-source web server and reverse proxy that gets and renews TLS certificates automatically from a simple Caddyfile."
url: https://cloudsat.io/apps/deploy-caddy
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

# 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.

[Deploy Caddy](https://dash.cloudsat.io/console/deploy?image=app%3Acaddy&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## 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.

## Apps like Caddy

[All apps in Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

- [NGINX](https://cloudsat.io/apps/deploy-nginx): Web servers NGINX is the open-source web server and reverse proxy that serves static files, terminates TLS and balances traffic across app servers with low memory use.
- [Nginx Proxy Manager](https://cloudsat.io/apps/deploy-nginx-proxy-manager): Web servers Nginx Proxy Manager puts a web interface on NGINX: forward domains to your services, get Let's Encrypt certificates and set access rules without editing configs.
- [Angie](https://cloudsat.io/apps/deploy-angie): Web servers Angie is a drop-in nginx replacement built by former nginx developers, adding automatic HTTPS, a JSON metrics API, a web console and dynamic upstreams.
- [Zoraxy](https://cloudsat.io/apps/deploy-zoraxy): Web servers Zoraxy is a general-purpose HTTP reverse proxy and forwarding tool with a web UI: ACME certificates, TCP and UDP stream proxying, access rules and uptime checks.
- [Algernon](https://cloudsat.io/apps/deploy-algernon): Web servers Algernon is a single-binary web server written in Go, with HTTP/2, QUIC, Lua handlers, Markdown and templates built in, plus a bundled database.
- [Apache HTTP Server](https://cloudsat.io/apps/deploy-apache-http-server): Web servers Apache HTTP Server is the long-standing open-source web server: virtual hosts, .htaccess, mod_rewrite, TLS and reverse proxying from one modular daemon.
