Attach your own domain to a site on CloudCannon.
To add a custom domain:
Once you have added your domain, you will see instructions for configuring your DNS and name servers.
Adding a subdomain is the same as adding a Custom Domain. To add a subdomain:
When there are multiple sites with subdomains on the same domain, a subdomain is delegated as the main domain. All unallocated subdomains redirect to the sites with the main domain. For example:
Visiting any subdomain other than www.example.com or docs.example.com will redirect to www.example.com.
To set a site with a subdomain as the main domain:
Navigate to the Domain Settings / Redirects
Changes to DNS can take up to 48 hours to propagate, depending on the previous TTL set. Test your site is configured correctly with the pingdom DNS checker.
Configuration instructions are shown after adding a domain. There are two choices:
Using CloudCannon DNS allows you to manage your DNS records within CloudCannon. This option automatically provides wildcard SSL certificates for your domain, so all your subdomain sites can be served over HTTPS without extra configuration.
See here for more information about configuring CloudCannon DNS.
If you want to manage your DNS records outside CloudCannon, you can use External DNS. See here for more information about configuring external DNS.
If you are using Cloudflare as your DNS provider, you will need to configure your DNS records differently. See our guide for using a Cloudflare Proxy with CloudCannon.