Domains
The lilylabs.app address of every app and custom domains.
App address
Each public app is reachable at https://<slug>.lilylabs.app, for example https://copperfox.lilylabs.app. The address is permanent and cannot be removed. The Domains tab of the app labels it Slug. Private apps keep the address, but it does not resolve. See Public and private.
Custom domains
Add a domain on the Domains tab of the app or with lly domain add. Then create two DNS records with your DNS provider:
| Type | Name | Value | Purpose |
|---|---|---|---|
CNAME | shop.example.com | copperfox.lilylabs.app | Routes traffic to the app |
TXT | _lily-verify.shop.example.com | lily-verify=dv_<id> | Proves ownership |
The domain setup on the Domains tab and lly domain add both show the exact values.
Step by step: Add a custom domain.
LILY checks pending domains every 30 seconds. When the TXT record is found, the domain is Verified and serves the app. LILY then requests a certificate, and the domain becomes Active. Active domains are checked regularly. If the records are removed, the domain returns to an earlier state.
Restrictions
- Apex domains: a
CNAMEcannot be set on the zone apex, for exampleexample.com. Use a subdomain such aswww.example.com, or a DNS provider that supportsALIASrecords or CNAME flattening. - One app per hostname: a hostname assigned to another app is rejected.
- No wildcards, for example
*.example.com. - No
lilylabs.appnames: LILY assigns them.