Menu

Post image 1
Post image 2
1 / 2
0

Installing Caddy Web Server on Ubuntu 26.04

DEV Community·Aashish Chaurasiya·19 days ago
#pvBcpt9o
Reading 0:00
15s threshold

Caddy is an open-source web server written in Go that automatically provisions and renews HTTPS certificates from Let's Encrypt without any manual configuration. Unlike Apache or Nginx, Caddy makes HTTPS the default and handles certificate management entirely on its own. This guide installs Caddy on Ubuntu 26.04 from the official repository, configures a virtual host with automatic SSL, and verifies the setup. By the end, you'll have Caddy serving your domain over HTTPS with no manual certificate management required. Install Caddy Caddy provides an official APT repository for Debian-based systems. 1. Update the APT package index: $ sudo apt update Enter fullscreen mode Exit fullscreen mode 2. Add the Caddy GPG key: $ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg Enter fullscreen mode Exit fullscreen mode 3.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More