Custom Domains & SSL

Kuberfy uses Traefik as an automated reverse proxy. When you attach a domain to an application, Traefik detects the configuration in real-time, configures the routing rule, and requests a free Let's Encrypt SSL certificate.

1. Adding a Domain in Kuberfy

  1. Navigate to your application in the Kuberfy dashboard.
  2. Go to the Domains section.
  3. Enter your domain or subdomain (e.g. api.yourdomain.com or app.test.com).
  4. Click Add Domain and redeploy your application.

2. Configuring DNS (Cloudflare)

To point your domain or subdomain to your Kuberfy VPS using Cloudflare:

Option A: Pointing a Specific Subdomain

TypeNameIPv4 AddressProxy Status
Aapi (or your subdomain)YOUR_VPS_IPProxied 🟧 (or DNS Only ⬜)

Option B: Wildcard Subdomains (Recommended for multi-app hosting)

If you deploy multiple applications under the same parent domain, add a wildcard record so you never have to edit DNS records again:

TypeNameIPv4 AddressProxy Status
A*YOUR_VPS_IPProxied 🟧

Cloudflare SSL / TLS Encryption Modes

In your Cloudflare dashboard under SSL/TLSOverview:

  • Full (Recommended): Encrypts end-to-end between the visitor, Cloudflare, and your server. Works out of the box with Traefik's certificates.
  • Flexible: Use this if you are not issuing certificates directly on your VPS and want Cloudflare to handle SSL for the browser while connecting over HTTP (port 80) to your server.
  • Full (Strict): Requires a valid, non-self-signed certificate on the VPS (provided by Traefik + Let's Encrypt).

Direct DNS (Without Cloudflare Proxy)

If you disable the Cloudflare proxy (DNS Only ⬜) or use another DNS provider (Namecheap, GoDaddy, Route53):

  • Traffic reaches your VPS directly on ports 80 and 443.
  • Traefik will handle ACME HTTP-01 challenges and issue certificates automatically via Let's Encrypt.