sharepa

Cloudflare CNAME record for a subdomain or the root domain

Updated:

At Cloudflare you add the CNAME in the dashboard under "DNS": "Add record", type CNAME, name is the subdomain, target is the service that serves the page. The one thing that matters is the "Proxy status" switch: for a CNAME pointing at an outside service such as sharepa it has to say "DNS only". Unlike almost every other provider, Cloudflare also accepts a CNAME on the root domain.

Type     CNAME
Name     www
Target   domains.sharepa.page
TTL      Auto (5 Minuten)

For sharepa a second record is added in the same menu: a TXT record proving that the domain is yours. The app shows name and value, the name starts with _sharepa-verify.

Type     TXT
Name     _sharepa-verify.www
Target   sharepa-verify=…

The name can be www, another subdomain, or @ for the root domain. Everything else in the zone, such as your mail records, stays as it is.

Steps

  1. Sign in to the Cloudflare dashboard and pick the domain from the overview.
  2. Open "DNS" in the left menu, then "Records".
  3. Click "Add record". Under "Type" choose CNAME.
  4. Under "Name" enter the subdomain, for example www, or @ for the root domain.
  5. Under "Target" enter domains.sharepa.page.
  6. Turn "Proxy status" off so the cloud turns grey and reads "DNS only". Leave TTL on "Auto".
  7. "Save". The record is live at Cloudflare almost immediately.
Control panel
Dashboard
Path to the DNS zone
Domain wählen DNS Records Add record
TTL, if asked
Auto (5 Minuten)
CNAME on the root domain
possible
Redirect for the root domain
Rules → Redirect Rules
Proxy switch
turn off, "DNS only"
Until the record takes effect
a few minutes
Checked
14.09.2026, on our own account

Where it goes wrong at Cloudflare

Nearly always it is the proxy. With the cloud on orange, Cloudflare routes the traffic through its own network, and sharepa cannot issue the certificate for your domain. The page then shows a 522 error or a Cloudflare error page. Set the cloud to grey, wait a few minutes, done.

Second: the list shows every record, including ones imported automatically when the domain was moved to Cloudflare. An old A record for www does not silently block the new CNAME, it produces a message that a record with that name already exists. Delete or edit the old one.

Root domain without www

Cloudflare resolves a CNAME on the root domain to an IP address behind the scenes, which it calls CNAME flattening. So you enter @ under "Name" and the same target. If you want both spellings to work, connect one of them to sharepa and add a Redirect Rule under "Rules" from the other one to it.

What it costs

Cloudflare's free plan is enough, DNS has no limit there. At sharepa, one page under your own domain is free, the one-time plan includes five.

Questions

Can the cloud stay orange?

Not for sharepa. Cloudflare's proxy and sharepa's certificate get in each other's way. "DNS only" is required.

What if I bought the domain elsewhere?

That makes no difference as long as the domain's name servers point to Cloudflare. Then the zone is managed in the Cloudflare dashboard, and that is where the record belongs.

Do I see the record right away?

Yes, the change reaches Cloudflare's name servers within seconds. It takes a little longer until sharepa reports the domain as active, because it checks every five minutes.

These steps were checked on our own Cloudflare account on 14.09.2026. If the menu changes, let us know.

Try it for free