Domains & Certs
Section titled “Domains & Certs”Overview
Section titled “Overview”The Domains view manages domains for app installation. Apps can be installed as subdomains of any added domain. Email can be enabled per domain.

The platform integrates with various DNS service APIs to automate DNS setup. For unsupported providers, use the Wildcard option.
The same domain can be safely added to multiple servers, allowing apps on the same top-level domain across separate servers.
DNS providers
Section titled “DNS providers”Bunny DNS
Section titled “Bunny DNS”-
Get the Access Key
-
Choose Bunny from the dropdown and provide the Access key.

Cloudflare DNS
Section titled “Cloudflare DNS”-
Get the Global API Key or API Token from your account profile section.
-
Choose the
Edit zone DNStemplate to create a token. -
When using the API token, it must include the
Zone:ReadandDNS:Editpermission. The token only needs permission for the specific zone as shown below:
-
Choose Cloudflare from the dropdown and provide the API key.

deSEC DNS
Section titled “deSEC DNS”-
Create a token.
-
Choose deSEC from the dropdown and provide the token.

DigitalOcean DNS
Section titled “DigitalOcean DNS”-
Create an APIv2 token with read+write access.
-
Choose DigitalOcean from the dropdown and provide the API key.

DNSimple DNS
Section titled “DNSimple DNS”-
Create an API token
-
Choose DNSimple from the dropdown and provide the API key.

Gandi LiveDNS
Section titled “Gandi LiveDNS”-
Create a Personal Access Token (PAT) in the security section under
Authentication options. SelectManage domain name technical configurationspermission. -
Choose Gandi LiveDNS from the dropdown and provide the PAT.

GoDaddy
Section titled “GoDaddy”-
Create a GoDaddy API Key at their developer portal. Select production environment when creating the key.

-
Choose GoDaddy from the dropdown and provide the key and secret.

Google Cloud DNS
Section titled “Google Cloud DNS”-
Create a service account key in JSON format.
-
Choose Google Cloud DNS from the dropdown.

Hetzner DNS (legacy)
Section titled “Hetzner DNS (legacy)”-
Create a Hetzner Console API token.
-
Choose Hetzner DNS from the dropdown.

Hetzner Cloud DNS
Section titled “Hetzner Cloud DNS”-
Create a Hetzner Cloud API token.
-
Choose Hetzner Cloud DNS from the dropdown.

Hostinger DNS
Section titled “Hostinger DNS”-
Create an API token in hPanel. The token has the same access as the account.
-
Point the domain at Hostinger nameservers
ns1.dns-parking.comandns2.dns-parking.com. The DNS zone must already exist in Hostinger. -
Choose Hostinger from the dropdown and provide the API token.

Infomaniak DNS
Section titled “Infomaniak DNS”-
Create an API token. The token needs
dns:readanddns:writepermission. -
Choose Infomaniak from the dropdown and provide the API token.

INWX DNS
Section titled “INWX DNS”-
It is recommended to set up a dedicated API sub-user to use the API.
-
Choose INWX from the dropdown.

Linode DNS
Section titled “Linode DNS”-
Create a Linode API token. The Personal Access Token must have
Domainsaccess. Set theExpirytoNever. -
Choose Linode from the dropdown.

Name.com DNS
Section titled “Name.com DNS”-
Create a name.com API token
-
Choose Name.com from the dropdown.

Namecheap DNS
Section titled “Namecheap DNS”- Create an API key (Profile -> Tools) and whitelist the server’s IP in the Namecheap dashboard.
-
For email, select
Custom MXinMAIL SETTINGSand set the MX record tomy.example.com(the primary domain). Cloudron keeps this record updated.
-
Choose Namecheap from the dropdown.

Netcup DNS
Section titled “Netcup DNS”-
Create an API Key and Password in the Customer Control Panel after accepting ToS.
-
Enter your customer number (shown at top of control panel), API key, and password.

OVH DNS
Section titled “OVH DNS”-
Create an Application key, Application secret and Consumer Key by following the docs at OVHCloud Help.
-
API Keys can be created with a minimal scope:

GET /domain/zone/{zone Name}/recordPOST /domain/zone/{zone Name}/recordPUT /domain/zone/{zone Name}/record/*DELETE /domain/zone/{zone Name}/record/*GET /domain/zone/{zone Name}/record/*POST /domain/zone/{zone Name}/refresh- Choose OVH from the dropdown and enter the Application key, Application secret & Consumer Key.

Porkbun DNS
Section titled “Porkbun DNS”-
Create an API Key and API Secret in the Porkbun dashboard.
-
Enable
API ACCESSfor the domain (disabled by default). -
Choose Porkbun from the dropdown and enter the API key and API secret.

Route53 DNS
Section titled “Route53 DNS”- AWS supports root and IAM credentials. For root credentials, see managing access keys. For IAM, create a user with the following policy (replace
<hosted zone id>from Route53 console):
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "route53:*", "Resource": [ "arn:aws:route53:::hostedzone/<hosted zone id>" ] }, { "Effect": "Allow", "Action": [ "route53:ListHostedZones", "route53:listHostedZonesByName", "route53:GetHostedZone", "route53:GetChange", "route53:ChangeResourceRecordSets" ], "Resource": [ "*" ] } ]}- Choose AWS Route53 from the dropdown.

Scaleway DNS
Section titled “Scaleway DNS”-
Create an API key whose policy includes
DomainsDNSFullAccesson the project that owns the DNS zone. Cloudron uses the secret key. -
Point the domain at Scaleway nameservers
ns0.dom.scw.cloudandns1.dom.scw.cloud. The DNS zone must already exist in Scaleway. -
Choose Scaleway from the dropdown and provide the API secret key.

Vultr DNS
Section titled “Vultr DNS”-
Create a Vultr API token and add the server’s IP in Access Control.
-
Choose Vultr from the dropdown.

Wildcard DNS
Section titled “Wildcard DNS”Use the Wildcard DNS backend for unsupported DNS providers.
- Add a DNS A record with name
*.example.comto point to your server’s IP.
-
(Optional) Add an A record for
example.compointing to your server’s IP. Required only for hosting apps on the bare domain. -
Choose Wildcard from the dropdown.

Manual DNS
Section titled “Manual DNS”Use Manual DNS when Wildcard DNS is not possible and your provider is unsupported.
Set up DNS records before Cloudron installation and before each app installation. Apps fail to install without correct DNS.
For Cloudron setup:
-
Set the
mysubdomain to the server’s public IP -
Choose Manual from the DNS provider dropdown
-
Set up DKIM and SPF records manually for email. displayed in UI after installation.
-
Create A records for each subdomain before installing apps.
No-op DNS
Section titled “No-op DNS”The No-op DNS backend disables DNS functionality and is intended to be used for testing and development.
When using other DNS backends, DNS will be set up the DNS automatically and also check if the DNS changes have propagated. This prevents the user from hitting name resolution (NXDOMAIN) errors. When using the No-op backend, the setup and checks are disabled and you are on your own to ensure that names are getting resolved correctly.
Zone name
Section titled “Zone name”The Zone Name is the domain managed by the DNS provider, typically the top-level domain like example.com. Set a different zone name when a subdomain uses a different DNS provider.
Example: If example.com is on GoDaddy but internal.example.com is delegated to DigitalOcean, set the zone name to internal.example.com when using cloudron.internal.example.com as the primary domain.
Custom nameservers
Section titled “Custom nameservers”Custom nameservers (also called vanity nameservers) allow you to use branded nameservers like ns1.yourdomain.com instead of your DNS provider’s default nameservers like ns1.cloudflare.com.
When adding a domain, the platform checks the domain’s nameservers and matches them against the selected DNS provider. This verification ensures the DNS provider can manage the domain’s records. However, this check fails when using custom nameservers since they don’t match the provider’s default nameservers.
To use custom nameservers, enable the Domain uses custom (vanity) nameservers checkbox in the domain’s advanced settings. This bypasses the nameserver verification check.

Well known locations
Section titled “Well known locations”A well-known URI is a Uniform Resource Identifier for a URL path prefixes that start with /.well-known/. They are implemented
in webservers so that requests to the servers for well-known services or information are available at URLs consistent
well-known locations across servers. See RFC 8615 for more
information.
You can edit well known locations in the Domains view:


Matrix server location
Section titled “Matrix server location”Set the Matrix server’s domain and port. Cloudron responds at https://{domain}/.well-known/matrix/server. Federation uses this document to find the homeserver. The default Matrix port is 8448. The Synapse app uses port 443, so set the location with the port, like matrix.domain.com:443.
Matrix client document
Section titled “Matrix client document”https://{domain}/.well-known/matrix/client is the document clients use to find the homeserver. Paste the JSON object into Matrix client document. Put the homeserver URL in m.homeserver.base_url, a Jitsi domain in im.vector.riot.jitsi.preferredDomain, and a LiveKit address in org.matrix.msc4143.rtc_foci. An empty document means Cloudron does not answer this URL.
Mastodon server location
Section titled “Mastodon server location”The mastodon hostname is the domain name on which the mastodon server is running. When set, requests
to requests to the https://{domain}/.well-known/host-meta end point. This is required for federation to work.
This endpoint only works to this end point only when an app is installed on the bare domain.
Dashboard domain
Section titled “Dashboard domain”The dashboard is at the my subdomain of the primary domain. The my subdomain is hardcoded, but the primary domain can be changed in the Domains view.
Select the target domain and click Change Domain. Redirect to the new location occurs within minutes.

Implications of changing the primary domain:
- Dashboard moves to
my.newprimarydomain.com. update bookmarks. - Update API scripts to use the new dashboard domain.
- Email notifications come from
no-reply@newprimarydomain.com. - Mail server location remains unchanged.
- The old
myDNS record is not removed the oldmyDNS record. Remove it manually if you also change the mail server location.
Sync DNS
Section titled “Sync DNS”If you accidentally deleted DNS records or are switching DNS providers, you can restore them using the
Sync DNS button in the Domains view. Note that Only DNS records that are in use
and not records that were externally created.

Autodiscover
Section titled “Autodiscover”RFC 6764 enables CalDAV and CardDAV service discovery. Add DNS entries manually. see this tutorial for required records.
See Email autodiscovery for more information.
Certificates
Section titled “Certificates”The platform integrates with Let’s Encrypt to install certificates for apps. Certificates are renewed automatically. supports the following certificate providers:
Let's Encrypt Prod- Obtain individual certs for each domain. This provider uses HTTP automation and requires inbound port 80 to be open. This provider will list your individual domain names in the Certificate transparency project.Let's Encrypt Prod - Wildcard(default) - Obtain wildcard certs for each domain. This provider uses DNS automation and can only be used with programmatic DNS API providers.Let's Encrypt Staging- Obtain individual certs for each domain from Let’s Encrypt staging endpoint. These certs are for testing and not trusted by the browser. This provider uses HTTP automation and requires inbound port 80 to be open.Let's Encrypt Staging - Wildcard- Obtain wildcard certs for each domain from Let’s Encrypt staging endpoint. These certs are for testing and not trusted by the browser. This provider uses DNS automation and can only be used with programmatic DNS API providers.Self-Signed/Custom Certificate- Disable Let’s Encrypt integration and use a custom wildcard certificate instead.
Set the certificate provider per domain in Domains > Advanced settings.

Custom certificates
Section titled “Custom certificates”A custom wildcard certificate can be provided per domain in advanced settings of a domain in the
Domains view. When setting such a certificate, make sure to add both the bare domain and the
wildcard domain as part of the certificate.
Follow this tutorial for instructions on how to generate a custom wildcard certificate that has both the bare domain and the wildcard domain.

Certificate transparency
Section titled “Certificate transparency”Let’s Encrypt participates in Certificate transparency. This means that your apps and subdomains are discoverable via the Certificate transparency project (crt.sh and Google’s website). Some attackers take advantage of this to hack web applications before they are installed.
For this reason, we recommend that you use Wildcard certificates. When using Wildcard certificates, the subdomain information is not ‘leaked’. Note that Let’s Encrypt only allows obtaining wildcard certificates using DNS automation. will default to obtaining wildcard certificates when using one of the programmatic DNS API providers.
Automatic renewal
Section titled “Automatic renewal”Certificates are renewed automatically based on suggested renewal times provided via ACME Renewal Information (ARI). Benefits of ARI include reducing load spikes at the CA, faster revocation response, and smarter scheduling. Renewals typically occur 1 month before expiry.
Failed renewals trigger admin email notifications. Expired certificates fall back to default certificates.
Manual renewal
Section titled “Manual renewal”To instantly trigger renewal of Let’s encrypt certificate, click the Renew All button on the domains page.

Revokation
Section titled “Revokation”Cloudron does not revoke certificates when an app is uninstalled. Instead, it retains the
certificate, so that it can be reused if another app is installed in the same
subdomain. This allows you to install apps for testing in the same location, say test,
and not have to worry about running over the Let’s Encrypt rate limit.
CAA records
Section titled “CAA records”Let’s Encrypt checks CAA records to verify certificate issuance authorization. Either leave the CAA record empty or add one allowing letsencrypt.org.