Custom domains and SSL

Add your own domain to a project and VPS Manager configures nginx on your server and gets a free Let's Encrypt certificate for it. You prove you own the domain with a DNS TXT record.

Add a domain

  1. Open the project and find the Domains card.
  2. Enter the hostname, for example app.example.com, and click Add domain.
  3. The card lists the DNS records to create. Add both at your DNS provider:
TypeNameValue
TXT_vpsm-challenge.app.example.comvpsm-verify=<token shown in the card>
Aapp.example.comyour server's public IP address
  1. Click Verify.

Only A records are supported for now (no CNAME). If the card says server has not connected yet, the server has no known public IP: connect it first.

What happens after Verify

  1. We look up the TXT record through several public DNS resolvers. All of them must see it. If they don't, you get TXT record not found yet (DNS can take a few minutes): wait a little and click Retry.
  2. Once verified, the agent installs nginx if needed and serves your app on the domain over HTTP.
  3. It requests a Let's Encrypt certificate (HTTP-01 challenge), so port 80 must be reachable from the internet and the A record must already point at the server.
  4. The site switches to HTTPS, with HTTP redirected to HTTPS and HSTS turned on.

The card shows the status as it goes: pending, verified, getting certificate…, then active with TLS until <date>. Certificates renew automatically when fewer than 30 days remain.

Notes

  • Hostnames on our own domain can't be added; use a domain you control.
  • If something goes wrong the status becomes error with a message, and Retry starts again.
  • Let's Encrypt limits how many certificates it issues per domain each week. Avoid adding and removing the same domain many times in a row.
  • To use a wildcard base domain for pull request previews, see CI/CD and previews.

Free address

If the platform offers free addresses, the Domains card shows Get free address. It gives your project <project>-<organization>.<platform apps domain> with HTTPS, no DNS setup needed. You can add your own domain later; the free address keeps working until you remove it.