Docs / Apps
Custom domains
5 minute read
Serve your app from your own domain, like www.korafoods.ng. SimpliCloud issues and renews the TLS certificate for you.
1. Add the domain to the app
Open the app, go to Settings → Domains and click Add a domain. Enter the full name, like www.korafoods.ng.
simplicloud apps domains add storefront www.korafoods.ng
2. Point DNS at the app
The console shows the record to add. For a subdomain, it is a CNAME to your app's default address:
| Type | Name | Value |
|---|---|---|
| CNAME | www | storefront.apps.simplicloud.ai |
If your domain uses SimpliCloud DNS, the record is added for you when you add the domain.
3. Use the bare domain
A bare domain like korafoods.ng can't have a CNAME at most registrars. Move the domain's DNS to SimpliCloud by setting its nameservers to ns1.simplicloud.ai and ns2.simplicloud.ai, then add the domain to the app. We create the right records automatically.
4. Check DNS and TLS
Once DNS resolves, the certificate is issued within a few minutes and the domain shows TLS issued. Check from your computer:
dig +short www.korafoods.ng CNAMEstorefront.apps.simplicloud.ai.curl -I https://www.korafoods.ngHTTP/2 200
5. Redirect the other name
Add both korafoods.ng and www.korafoods.ng, then mark one as primary. Requests to the other are redirected with a 301, and HTTP always redirects to HTTPS.