Edit DNS records at Cloudflare
Open the DNS Records page in Cloudflare and add the CNAME and TXT records yaya shows. A bare domain works with a CNAME on the at sign.
Last updated
Before you start
- Any plan. Connecting a domain you own is free on Free, Launch and Grow.
- A Cloudflare login and a published yaya site.
- The DNS steps from yaya. Open Website > Domain, type the name in Hostname and click Connect domain.
Edit the records at Cloudflare only if Cloudflare runs the DNS for the domain. If another company runs it, edit the records there.
Sign in and find the DNS page
- Sign in to the Cloudflare dashboard.
- Select the domain.
- Open the DNS Records page.
Cloudflare's guides do not list the side menu labels, so look for DNS or Records in the domain's menu.
What the screen calls the fields
- Type: CNAME or TXT.
- Name: a subdomain such as
www, or@for the bare domain. - Target: the field for a CNAME. Paste the target from yaya.
- Proxy status: Proxied or DNS only.
- TTL: leave it on the default.
Add the CNAME record for a subdomain or www
- Click Add record.
- Set Type to CNAME.
- Type
wwwin Name. - Paste the target from yaya in Target.
- Set Proxy status to DNS only (gray cloud). This is yaya's recommendation, not a Cloudflare rule. With DNS only, traffic goes to yaya directly.
- Click Save.
Connect the bare domain
Cloudflare supports a CNAME at the bare domain. Cloudflare flattens a CNAME at the root automatically.
- Click Add record and set Type to CNAME.
- Type
@in Name. - Paste the target from yaya in Target.
- Set Proxy status to DNS only (yaya's recommendation) and click Save.
Add the TXT ownership record
yaya shows a name that starts with _cf-custom-hostname. Type the full name that yaya shows.
- Click Add record and set Type to TXT.
- Type the full name in Name, like
_cf-custom-hostname.www.example.com. - Paste the value from yaya in Content.
- Click Save.
Cloudflare adds the quotation marks around TXT text if you leave them out.
Replace a conflicting record
An A or AAAA record cannot share a name with a CNAME record. Delete the old A or AAAA record for the same name, then add the CNAME.
Leave MX records and mail TXT records as they are. See Keep your email working.
Check the result in yaya
- Open Website > Domain.
- Click Check again.
DNS can take minutes to a few hours. yaya sets up HTTPS on its own. There is no deploy step.
Fix common problems
The site does not connect. Check that the record is on DNS only, as yaya recommends.
The card stays on "Waiting on DNS". See Fix a domain that won't verify.
I want yaya to run all the DNS. See Move your DNS to yaya.
Provider's own guide: https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-subdomain/
Was this guide helpful?
Still stuck? Email support@yaya.page.