Connect a domain managed at Cloudflare
This guide covers domains whose DNS is managed at Cloudflare. Before you start, add your custom domain in ComputeSphere and copy your service URL — for example silver-cobra.computesphere.app.
Cloudflare supports CNAME flattening, so you can point both a subdomain and a root domain straight at your service URL with a CNAME.
Add the record
-
Sign in to the Cloudflare dashboard and select your domain.
-
In the left nav, go to DNS → Records.
-
Click Add record and enter:
Field Subdomain ( www.example.com)Root domain ( example.com)Type CNAMECNAMEName www@Target d-silver-cobra-ab12c.computesphere.appd-silver-cobra-ab12c.computesphere.appProxy status DNS only (gray cloud) DNS only (gray cloud) -
Click Save.
Click the orange cloud so it turns gray ("DNS only") before saving. If the record stays proxied (orange cloud), Cloudflare terminates TLS itself and ComputeSphere can't issue your certificate — the domain stays stuck in Validating.
Both root and www
To serve both example.com and www.example.com, add the same domains as custom domains in ComputeSphere and create a CNAME (DNS only) for each — @ and www — both targeting your service address. Cloudflare flattens the @ record automatically, so the apex needs no IP addresses.
Root domain via A / AAAA (alternative)
Cloudflare's CNAME flattening already serves a root domain, so most Cloudflare setups don't need this. If you prefer, you can instead point the apex straight at ComputeSphere's IP addresses with A and AAAA records. Use the exact addresses the Console shows when you add the domain, and set Proxy status to DNS only (gray cloud) on each:
| Type | Name | Value |
|---|---|---|
A | @ | 162.159.143.43 |
A | @ | 172.66.3.39 |
AAAA | @ | 2606:4700:7::31b |
AAAA | @ | 2a06:98c1:58::31b |
Add every address the Console lists. Use either the flattened CNAME or these A/AAAA records for the apex — not both.
After you save
Return to Console → Domains in ComputeSphere. The domain moves from Validating to Active once the record resolves and the SSL certificate is issued — usually within a few minutes. You don't upload or manage a certificate; ComputeSphere issues and renews it automatically.