Custom Domains API
Attach custom domains to your apps. Uncloud configures Ingress rules and TLS certificates automatically.List Domains
Add a Domain
The custom domain (e.g.,
api.example.com)201 Created
After adding a domain, create a CNAME or A record pointing to your Uncloud cluster’s load balancer IP.
Remove a Domain
TLS / SSL
When a custom domain is added, Uncloud can automatically provision a TLS certificate via cert-manager and Let’s Encrypt. This requires:cert_manager_cluster_issuerconfigured inconfig.yaml- DNS pointing to your cluster
- Port 80 and 443 accessible from the internet
Default Subdomain
Every app automatically gets a subdomain based on the configuredbase_domain:
go4.site → my-api.go4.site
This subdomain uses the wildcard TLS certificate specified in default_tls_secret_name.
DNS Configuration
| Record Type | Name | Value |
|---|---|---|
CNAME | api.example.com | your-cluster.go4.site |
A | api.example.com | <cluster-load-balancer-ip> |