Domains
Each environment gets a vanity URL automatically. You can also add custom domains with automatically provisioned SSL certificates.
Default URL
Section titled “Default URL”Every environment gets a vanity URL when created:
https://production-my-app.example.ske.devThis URL works immediately after the first deployment with no configuration needed.
Adding a custom domain
Section titled “Adding a custom domain”ske domain:add my-app.com --env production✓ Domain added. Configure DNS to complete setup.
Record type: CNAME Name: my-app.com Value: production-my-app.example.ske.dev
Certificate status: pendingSKE provisions an SSL certificate and provides DNS records you need to add to your DNS provider.
DNS configuration
Section titled “DNS configuration”After adding a domain, you need to configure DNS records with your DNS provider (Cloudflare, Route 53, Cloud DNS, etc.):
- Add the CNAME record SKE provides
- If using certificate validation (AWS), add the validation CNAME records
- Wait for DNS propagation and certificate issuance
SSL certificates
Section titled “SSL certificates”SSL certificates are issued through AWS Certificate Manager (ACM) using DNS validation. ACM provisions the certificate and handles renewal automatically. You need to add the validation CNAME records to prove domain ownership.
Certificate lifecycle:
pending → validating → issuedOn GCP, custom domains use a Global HTTPS Load Balancer with Certificate Manager. This requires enable_lb on the network:
# The network must have LB enabledske network:create --name my-network --provider gcp --enable-lb
# Then add the domainske domain:add my-app.com --env productionCertificate Manager handles provisioning and renewal.
Managing domains
Section titled “Managing domains”# List domains for an environmentske domain:list --env production
# Remove a domainske domain:delete my-app.com --env production
# Refresh certificate statusske domain:refresh my-app.com --env productionMultiple domains
Section titled “Multiple domains”An environment can have multiple custom domains. Each domain gets its own SSL certificate:
ske domain:add my-app.com --env productionske domain:add www.my-app.com --env productionske domain:add api.my-app.com --env productionTroubleshooting
Section titled “Troubleshooting”If a certificate stays in pending or validating status:
- Verify the DNS records are correctly configured
- Check that CNAME records have propagated (
dig CNAME my-app.com) - Wait — certificate issuance can take up to 30 minutes after DNS propagation
- Run
ske domain:refreshto force a status check