Docs/Candor Deploy
Domains and HTTPS
Add your own domain to a project, create the DNS record, verify it and get an HTTPS certificate that renews itself.
To put an app on the web you attach a domain you control. Candor Deploy issues an HTTPS certificate for it from Let’s Encrypt and renews it for you.
Plan on using your own domain or subdomain. These docs do not promise a web address of ours for your app.
Add a domain
You can add a domain while creating the project (the Domain card on the Config screen) or afterwards:
- Open the project and go to Domains & Routes.
- Press Add domain and choose Custom domain.
- Enter the hostname, for example
app.example.comorexample.com. If the project has more than one service or port, choose which one the domain maps to. - Tick Include www if you want
www.handled as well. - Save. A DNS Records panel appears with the record to create.
Create the DNS record
At your DNS provider, create the record the panel shows. For most domains that is one A record:
| Type | Host | Value |
|---|---|---|
A | @ for the bare domain, or the subdomain, for example app | the address shown in the panel |
Copy the value from the panel. Do not guess it or reuse one from another project.
Issuing the certificate needs plain HTTP on port 80 to reach us for that hostname. If you use Cloudflare for DNS and verification fails with its proxy turned on, set the record to DNS only and verify again.
Verify
Press Verify on the domain. Verification asks Let’s Encrypt for a certificate, which proves the hostname reaches your app. When it succeeds the domain is live over HTTPS.
If it fails:
- DNS changes take time to spread. Wait a few minutes and press Verify again. Pending domains are also retried in the background.
- Check the record with
dig +short app.example.com. It should print the address from the panel and nothing else. - Remove any old
A,AAAAorCNAMErecords for the same hostname. AnAAAArecord pointing somewhere else is a common cause.
www and redirects
With Include www, www.example.com is added as a second hostname. It needs its own DNS record and its own Verify. By default it redirects to the hostname you typed; you can switch which one is primary, or serve both.
Renewal
Certificates issued this way renew automatically before they expire. You do not need to do anything.
If you upload your own certificate instead, it does not renew; you replace it yourself before it expires.
What is not available
- Wildcard domains such as
*.example.com. Add each hostname you need. - Our own hostnames. You cannot attach a hostname that belongs to Candor Deploy.
Other things on the Domains & Routes tab
The same tab has settings for redirects, password protection for a domain, rate limits and IP rules, and a maintenance page. They apply to custom domains with HTTPS.
Something here wrong, unclear or missing? Tell us. Docs get fixed like bugs.
Not a customer yet? Start a free trial, or see plans and limits.