Custom Domains
Assign your own domain names to Clue2App applications. Every app gets a default URL like appname.namespace.apps.clue2.app, but you can add custom domains like api.example.com or www.mysite.com.
Clue2App supports two DNS methods:
| Method | Setup | Per-subdomain DNS | Best for |
|---|---|---|---|
| DELEGATION (recommended) | One-time NS record setup | Automatic — no manual DNS per app | Teams managing multiple apps under one domain |
| CNAME_ONLY | No registrar changes | Manual — 2 CNAME records per subdomain | Quick setup for a single subdomain |
Quick Start — DELEGATION (Recommended)
DELEGATION creates a dedicated DNS zone in AWS Route53. After a one-time NS setup at your registrar, all subdomains and TLS certificates are fully automatic.
1. Register your domain
c2a domain register example.com --method DELEGATION
This returns 4 NS (nameserver) records:
DNS Setup Required
Add these NS records at your domain registrar for example.com:
1. NS ns-888.awsdns-47.net
2. NS ns-1569.awsdns-04.co.uk
3. NS ns-1175.awsdns-18.org
4. NS ns-61.awsdns-07.com
2. Update nameservers at your registrar
Go to your domain registrar and replace the existing nameservers with the ones from step 1.
This transfers DNS control to Clue2App's Route53 zone. If you have existing DNS records (MX for email, A records for other services), you'll need to recreate them in Route53 before switching nameservers. Contact support if you need help migrating existing records.
Registrar-specific instructions:
GoDaddy
- Go to My Domains → select your domain → DNS → Nameservers
- Click Change Nameservers → Enter my own nameservers
- Enter the 4 NS values from step 1
- Click Save
Squarespace (Google Domains)
- Go to Domains → select your domain → DNS → Nameservers
- Switch to Custom nameservers
- Enter the 4 NS values from step 1
- Click Save
Namecheap
- Go to Domain List → select your domain → Nameservers
- Select Custom DNS
- Enter the 4 NS values from step 1
- Click the checkmark to save
Cloudflare
Cloudflare acts as both registrar and DNS provider. To delegate to Route53, you'd need to transfer the domain to a different registrar. Alternatively, use CNAME_ONLY mode with Cloudflare (see below).
3. Verify NS propagation
NS changes typically take 5–30 minutes. Verify with:
c2a domain verify example.com
Output when ready:
✓ All NS records verified! Domain is ready for use.
Subdomains will get automatic TLS certificates (~90s).
4. Add domains to your apps
c2a domain add --app frontend www.example.com
c2a domain add --app backend api.example.com
That's it — no manual DNS changes needed. Each subdomain gets:
- Automatic DNS record in Route53
- Automatic TLS certificate via Let's Encrypt (~90 seconds)
- Automatic Knative domain mapping
5. Check status
c2a domain assignments --app frontend
Status progression: Pending → DNS Verified → Issuing cert... → Live
Quick Start — CNAME_ONLY
For simple setups where you don't want to change nameservers. You manage DNS manually at your provider.
1. Register your domain
c2a domain register example.com
Or with the method explicitly:
c2a domain register example.com --method CNAME_ONLY
2. Add a domain to your app
c2a domain add --app myapi api.example.com
3. Add DNS records at your provider
Create 2 CNAME records at your DNS provider:
| # | Type | Name | Value | Purpose |
|---|---|---|---|---|
| 1 | CNAME | api.example.com | ingress.apps.clue2.app | Routes traffic to your app |
| 2 | CNAME | _acme-challenge.api.example.com | _acme-challenge.api.example.com.apps.clue2.app | Enables automatic TLS certificate |
ingress.apps.clue2.appIf your registrar rejects the CNAME value, use the raw load balancer hostname instead:
a4418732860c946b68cefdd6a85c0a97-1177710527.us-west-2.elb.amazonaws.com
4. Wait for activation
Once DNS propagates (seconds to minutes):
- Status changes: Waiting for DNS → Issuing certificate → Live
- Your app is accessible at
https://api.example.comwith a valid TLS certificate
Common Patterns
Multiple apps under one domain
Register a domain once, then assign different subdomains to different apps:
c2a domain register example.com --method DELEGATION
# (set up NS records at registrar, verify)
c2a domain add --app frontend www.example.com
c2a domain add --app backend api.example.com
c2a domain add --app docs help.example.com
Multiple domains per app
Assign multiple domains to the same app:
c2a domain add --app myapp api.example.com www.example.com admin.example.com
Subdomain zone (e.g., app.example.com)
If you don't want to delegate your entire domain, register a subdomain zone instead:
c2a domain register app.example.com --method DELEGATION
Then at your registrar, add NS records for app.example.com (not the root domain). This leaves your existing DNS intact while delegating only the app. subdomain.
c2a domain add --app frontend web.app.example.com
c2a domain add --app backend api.app.example.com