Domains and TLS
Every web service gets a generated address with HTTPS. Add your own domains, check DNS live and let launchroom handle certificates.
Every service with a port gets an address on the internet as soon as it deploys, with HTTPS. When you add your own domain, launchroom shows the DNS records to create, checks them live and gets the certificate. Domain changes apply right away without a deploy.


Generated domains
Each web service gets a generated domain per environment, shown as Generated by launchroom under Settings → Network → Domains:
| Your setup | Generated address |
|---|---|
A platform domain, such as apps.example.com | {service}-{environment}.{project}.apps.example.com |
| No platform domain yet | {service}-{environment}-{project}.{server-ip-with-dashes}.sslip.io |
Set or change the platform domain during onboarding or in Settings → Network → App domains. Clear it there to use sslip.io for new services; existing generated addresses keep their names. One wildcard DNS record (*.apps.example.com) pointing at your edge
servers covers every generated address, preview and per-deployment URL. Get started shows the record with your
server's public IP and checks it before you continue. Without a platform domain, launchroom falls
back to sslip.io, a public DNS service that resolves names containing an IP address to that IP. sslip.io works at once,
but names under it share Let's Encrypt's rate limits with everyone else who uses it, so use a domain of your own.
With Cloudflare, set the platform records to DNS only (turn off the orange cloud). Universal SSL normally covers the zone's root domain and first-level subdomains; deeper generated addresses can fail with ERR_SSL_VERSION_OR_CIPHER_MISMATCH unless your Cloudflare certificate explicitly covers them. See Cloudflare's coverage limits.
Keep the platform domain apart from your dashboard's domain, ideally on a different registrable domain, so apps and the dashboard never share cookies. See Dashboard domain.
Previews get {service}-pr-{number}.{project}.… and every deployment gets an immutable {service}-{id}.{project}.…
address. See Previews.
Add a custom domain
Open the service's Settings → Network → Domains and choose Add a domain.
Enter the name
Type the hostname, for example shop.example.com. launchroom tells you which record you need.
For a root domain like example.com, launchroom recommends Add example.com and redirect www: it adds both names,
and www.example.com redirects to example.com. Choose Only example.com if you use www for something else.
To send a domain somewhere else instead of to this app, choose Redirect to another URL (see Redirect a domain).
Create the DNS records
The dialog lists the records to create at your DNS provider as a table with Type, Name and Value, with a copy button in each cell. Once a check has run, each record says Found or Not found yet. Which record comes first depends on the name:
| Domain | With a platform domain | Without one |
|---|---|---|
Subdomain (shop.example.com) | CNAME to the service's generated hostname (recommended), or A/AAAA records | A/AAAA records |
Root domain (example.com) | A/AAAA records; a hint for ALIAS, ANAME or CNAME flattening to the generated hostname | A/AAAA records |
The A records (and AAAA records when your edges have IPv6) point at the public addresses of your edge servers. A CNAME points at the platform domain instead, so it keeps working when you add an edge server or move to another one: you don't touch DNS again. Most DNS hosts allow no CNAME on a root domain. Some offer ALIAS, ANAME or CNAME flattening there, which works the same way.
The Name column shows the name relative to your domain, such as www or @ for the root, because most DNS
providers want it that way. Some want the full name instead. When launchroom recognises your DNS provider from its
nameservers (Cloudflare, GoDaddy, Namecheap, Route 53, Hetzner, IONOS and others), it shows that provider's own steps.
Otherwise pick where you manage DNS and it shows those.
Wait for the check
It usually takes a few minutes, and can take up to a day, depending on your provider. launchroom re-checks DNS on its own until the records point at your servers and then says "You're all set". It shows when it last checked and when it checks next, and Check now checks right away. When a record points somewhere else, it says what it found and what it should be, for example "We looked up shop.example.com and found A 1.2.3.4. It should point to 5.6.7.8." The certificate is issued on the first HTTPS request to the domain.
Each domain is a card with its status (Live, Waiting for DNS, Needs attention or With the next deploy for a service that hasn't deployed yet) and the path a request takes: DNS → HTTPS → Traffic. A hostname can belong to only one service on your launchroom, and names under your platform domain are reserved for generated addresses.
The DNS check
The DNS check asks public resolvers (1.1.1.1 and 8.8.8.8 by default) for the domain's A and AAAA records and
compares the answer with your edge servers' public addresses. The address shown is the public IP each server reports
(as IP echo services see it), never a private or Docker address.
When the records point somewhere else, for example at Cloudflare's proxy, launchroom also checks over HTTP: it requests
http://<domain>/.well-known/launchroom/check/<random token> and your edge server answers with the token signed by
its own key. A signed answer means requests reach your server, whatever sits in between.
The result is one of Points at your servers, Reached through a proxy (Cloudflare), Reaches your servers (another address forwards to them), Behind a proxy, not confirmed, Points elsewhere, No record yet or a failed check. Behind Cloudflare, set SSL/TLS to Full (strict); see Behind a proxy. launchroom checks:
- when you add the domain, when you open its card and the last answer is older than 20 seconds, then every 20 seconds for five minutes while the card is open (the line under the records says when it last checked)
- when you press Check DNS now
- in the background every 5 minutes until the domain points at your servers, then every 6 hours
The check tells you whether the domain is ready and doesn't change routing. DNS changes can take a while to reach every resolver, depending on the record's TTL. See DNS and TLS troubleshooting.
Certificates
launchroom gets certificates from Let's Encrypt through Caddy on your edge servers and renews them on its own.
| Address | Certificate |
|---|---|
| Custom domain | Issued on demand, on the first HTTPS request after DNS points at your servers (HTTP-01). Your server only asks for certificates for domains you added, so random names can't burn your rate limits. |
| Generated domain | A wildcard certificate per project through DNS-01 when a DNS provider is configured (instant HTTPS, no per-host limits); otherwise one certificate per host over HTTP-01. |
| Immutable per-deployment URL | On demand, when first visited. |
Each domain card shows the certificate's state (issued, being issued, couldn't be issued, expiring, expired), the issuer and the renewal date. Expiring certificates also raise an alert (see Alerts).
The edge server approves on-demand certificates itself. Certificates keep renewing and new visitors get HTTPS while the dashboard is offline.
HSTS and redirects
On each custom domain:
- Always HTTPS (HSTS) is on by default. Once the certificate is issued, browsers are told to use HTTPS for a year
(
max-age=31536000, withoutincludeSubDomainsorpreload). - Redirect
www.<domain>here adds thewwwname and redirects it (308) to the domain.
To redirect another domain, add it as a redirect domain (below), or in launchroom.json with
redirectTo: { "hostname": "old.example.com", "redirectTo": "example.com" }.
If a renewal is overdue, the card says so. launchroom retries every hour, and Retry now tries right away.
Redirect a domain
Moved your site? Add the old domain with Redirect to another URL and enter where it should go, for example
https://new.example.com. Choose:
- Permanent (301): browsers and search engines remember the new address. Best for a moved site.
- Permanent, keeps the method (308): the same, but a form sent with POST stays a POST. Best for APIs.
- Keep the path:
old.example.com/blog/post?x=1goes tonew.example.com/blog/post?x=1. Turn it off to send every page to the target address itself.
A redirect domain needs DNS like any other domain and gets its own certificate. The target can't contain { or },
and it can't point back at the same domain.
Routing
Each custom domain has a Routing section for the cases that would otherwise need a small proxy app. Changes apply right away, without a deploy.
- Paths: send part of the site to another service of the same environment, for example
/apito your API while everything else goes to the web app. One origin means no CORS setup. The longest matching path wins. Turn on Remove /api before passing the request on when the service expects requests without it. Up to 16 rules. - Second port: point the domain at another port the service declares or its image exposes, for example a MinIO
console on
9001next to its API on9000. The generated address stays on the main port. With more than one server that receives traffic, a second-port domain is served from the servers that run a copy of the service. - Response headers: add headers such as
Access-Control-Allow-Origin,Content-Security-PolicyorCache-Control(up to 32). An empty value removes a header, such asX-Powered-By. Headers launchroom or the app own can't be set here:Set-Cookie,Content-Type,Location, connection headers and anything starting withX-Launchroom-. Values can't contain{or}. - Who can open it: only let in visitors from these addresses or ranges, for example your office
203.0.113.7or a VPN range10.8.0.0/16(up to 64). Everyone else sees "This site isn't open to your network". Behind a proxy such as Cloudflare, the proxy's addresses are what launchroom sees.
Protect an environment
In Project settings → Environments, turn on Only team members for an environment such as staging. Visitors are asked to sign in to launchroom, and only members of your team get in. Previews have the same protection in Project settings → Previews.
Webhooks from services like Stripe or Slack can't sign in. Add their paths under Paths that skip the sign-in, for
example /api/webhooks, and requests under them skip the sign-in. Only plain paths match: an address with encoded
characters such as %2e is still checked.
Wildcard certificates with DNS-01
With a DNS provider configured, generated domains get one wildcard certificate per project instead of one per host. An instance owner sets this up under Settings → Network, in the certificates section: pick the provider, enter its credentials and press Verify. Verify makes a read-only call to the provider's API.
| Provider | Credentials |
|---|---|
| Cloudflare | API token with Zone → Read and DNS → Edit |
| Hetzner | Hetzner Cloud API token |
| Amazon Route 53 | IAM access key ID and secret access key with permission to list zones and change records |
| DigitalOcean | Personal access token with domain read and update |
| Porkbun | API key and secret key, with API access on for the domain |
| deSEC | Token |
| Gandi | Personal access token (LiveDNS) |
| OVHcloud | API region, application key, application secret and consumer key |
| netcup | Customer number, API key and API password |
Credentials are encrypted and only reach the edge servers that serve shared certificates. Custom domains keep using on-demand certificates either way.
Multiple edge servers
A single edge server is the common setup. When you add more, every server with the Serve traffic role routes every domain of your team. Point your DNS records at all of them and traffic keeps flowing when one is down. Each domain shows the edge servers that answer for it.


Two or more edge servers that share certificates keep them in shared storage on the main server. Any of them can answer a Let's Encrypt challenge, and each certificate is issued once. Each edge also keeps a local copy and restarts with valid certificates even if that storage is unreachable. An instance owner admits extra edges with Share certificates in Settings → Network. See High-availability ingress.