If your DNS provider proxies traffic, such as Cloudflare's proxy mode, disable it for the CDN record. A proxied record does not resolve to the CNAME target, so verification fails.
CDN hostnames and SSL
Default hostname
Every CDN gets a hostname of the form prefix.b-cdn.net, where the prefix is chosen at creation. It is marked Main in the hostname list, has SSL enabled from the start, and cannot be removed.
Custom hostnames
You can add any number of custom hostnames, such as cdn.example.com, so that visitors see your own domain. All of a CDN's hostnames serve the same content from the same origin. Each custom hostname needs a CNAME record at your DNS provider pointing at the default b-cdn.net hostname. The hostname shows as CNAME missing until the record is found, and becomes Active once it is verified. Wildcard hostnames such as *.example.com are not supported.
A root domain such as example.com can't have a CNAME record, but it can be used as a custom hostname if your DNS provider can point it at the b-cdn.net hostname another way, for example with CNAME flattening or an ALIAS or ANAME record.
For the steps, see How to add a custom domain to UpCloud CDN. To serve a website that is already live through the CDN, see How to serve an existing website through UpCloud CDN.
SSL certificates
Once a custom hostname is verified, you can enable SSL for it in one of two ways.
| Option | What it does |
|---|---|
| Free SSL | A Let's Encrypt certificate is issued for the hostname and renewed automatically, and the hostname's SSL status shows Enabled once it is in place. If the domain has CAA records, they must allow letsencrypt.org. |
| Manual certificate | Upload or paste your own PEM-encoded certificate with its intermediate certificates, and its private key. Renewal is your responsibility. To replace a manual certificate, remove the hostname, add it again, and upload the new certificate. |
Force SSL
Each hostname has a Force SSL toggle. When on, HTTP requests to that hostname are redirected to HTTPS. It is off by default, including on the main hostname. The same redirect can be applied to specific paths only with an edge rule.