Before you start
You need:- a deployed application
- available custom-domain capacity under your plan or add-ons
- access to your DNS provider
Setup flow
Open your app, select the Custom domains tab, then select Add custom domain. A guided window takes you through four steps.1
Domain
Enter the hostname you want to connect, for example
app.example.com. Servbase prepares the DNS records, which usually takes less than a minute.2
Method
Choose Auto configure if your DNS is on Cloudflare, or Manual for any other DNS provider.
3
DNS records
With Auto configure, select Continue with Cloudflare. Cloudflare opens in a new tab and lists the records. Approve them, then return to Servbase.With Manual, copy the CNAME and TXT records shown into your domain registrar or DNS provider, then select I added the records.
4
Verify
Servbase adds the domain and checks the records while the window is open. DNS changes usually take a few minutes. You can close the window and check again later from the domains list.
Auto configure with Cloudflare
Auto configure works for subdomains such aswww.example.com or app.example.com. Add the records for a root domain such as example.com manually.
No password or API token is shared with Servbase. The link is signed by Servbase, so its records cannot be altered.
Status meanings
Managing domains
From the domains list you can:- select Auto configure or Manual to add the records of a domain that is not verified yet
- select Check now to force a verification check
- select the trash icon to remove the domain
Free subdomain
The free subdomain the app was created with (for examplemyapp.servbase.site) is listed first under Custom domains.
- Once at least one custom domain is Verified, you can switch Serve traffic off so the app answers only on your own domains. The subdomain stays assigned to the app, and you can switch it back on at any time.
- If you remove your last verified custom domain, the free subdomain is switched back on automatically, so the app always keeps an address.
- While the app is stopped, none of its domains serve traffic.
