Custom Domains
2 min read
Every app gets a free *.teploy.app subdomain. Add custom domains for production.
Add a domain
- Go to App → Settings → Domains
- Click Add Domain
- Enter your domain (e.g.,
myapp.com) - Configure DNS as shown below
- SSL certificate is provisioned automatically
DNS configuration
Point your domain to your VPS IP address:
Type: A
Name: @
Value: [Your VPS IP address]
Type: A (or CNAME)
Name: www
Value: [Your VPS IP address] (or @)
Find your VPS IP in Server → Overview.
DNS propagation
After updating DNS, propagation typically takes 1-30 minutes. SSL certificate is issued automatically once DNS resolves.
Wildcard domains
Support for *.myapp.com:
- Add
*.myapp.comas a domain - Configure wildcard DNS record:
Type: A Name: * Value: [Your VPS IP address] - Handle routing in your app
Wildcard SSL certificates are supported via Let's Encrypt DNS challenge.
Multiple domains
Add unlimited domains to any app. All domains point to the same deployment.
Common setups:
myapp.com+www.myapp.comapp.mycompany.com(subdomain of main site)- Multiple brands pointing to one app
Optional: Cloudflare
If you want CDN and DDoS protection, you can route traffic through Cloudflare:
- Add your domain to Cloudflare
- Point Cloudflare to your VPS IP
- Enable proxy (orange cloud)
See Cloudflare Setup for details.