Updated November 2026

Setting up HTTPS with Coolify

Coolify’s proxy (Traefik, in the usual install) can request a free Let’s Encrypt certificate for you. Almost every failure is DNS, port 80, or a hostname typo — not “HTTPS is hard.”

What you need first

Wait until the name resolves publicly. Let’s Encrypt checks from their servers, not from your laptop.

The happy path

  1. In Coolify, open the resource (or the application) and set the domain to the hostname you created, including https://.
  2. Make sure the app is running and bound to the proxy network Coolify expects. A default Coolify install already has this.
  3. Deploy or restart only that resource if Coolify asks you to. You should not need to restart the whole server or unrelated apps.
  4. Visit http://your-hostname first if HTTPS is not ready yet. The HTTP-01 challenge uses port 80. Once the cert is issued, the site should redirect to HTTPS and the browser padlock should be clean.

On many setups the certificate appears within a minute or two of DNS being correct. If it does not, fix the checklist below rather than clicking “renew” in a loop.

When the certificate does not issue

SymptomUsual cause
ACME timeout or “connection refused”Port 80 is closed in the cloud firewall, ufw, or another process is bound to it
“No valid A record” / wrong siteThe hostname is not pointing at this VPS, or you typed www in one place and the apex in another
Works on IPv4, fails for some visitorsA stale or wrong AAAA record
Certificate for the wrong nameThe Coolify domain field does not match the DNS name exactly
Other apps broke after a changeSomeone edited the shared proxy config or restarted the proxy stack. Change only the new host’s config.

Do not stop or restart existing applications to “make HTTPS work.” The proxy can request a cert for a new hostname without taking other sites down.

HTTP-01 in one sentence

Let’s Encrypt connects to your hostname on port 80 and expects the Coolify proxy to answer a /.well-known/acme-challenge/… URL. If that request never arrives, there will be no certificate. After it succeeds once, renewals use the same path, so leave port 80 open.

If you are still choosing a server, pick one with root access and unfiltered 80/443, then follow the Coolify VPS sizing notes so the proxy and your apps have enough RAM to stay up.