Pilot pricing in Lagos: servers from ₦10 an hour, Spaces from ₦6,750 a month →
Docs menu

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.

Terminal
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:

TypeNameValue
CNAMEwwwstorefront.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.

Nameserver changes usually show up within an hour. We check every 5 minutes.

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:

Terminal
dig +short www.korafoods.ng CNAME
storefront.apps.simplicloud.ai.
curl -I https://www.korafoods.ng
HTTP/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.

Was this page helpful?

Related guides

Custom domains · Docs · SimpliCloud