Connect a domain on Cloudflare
If your domain’s DNS is managed in your own Cloudflare account (its nameservers end in ns.cloudflare.com), follow these steps. You don’t need to touch your email settings.
Before you start: add the domain in direct.eat first (Settings → Web address and domains → I have a domain), so you can copy the exact values from your domain card. See Connect your own domain.
The record to add
Section titled “The record to add”| Type | Name | Target | Proxy status | TTL |
|---|---|---|---|---|
| CNAME | www (or order if you’re keeping your website) |
shops.direct.eat |
DNS only | Auto |

- Sign in to the Cloudflare dashboard and select your domain.
- Go to DNS → Records.
- If there’s already an A, AAAA or CNAME record named
www(ororder), edit or delete it. A name can only have one CNAME, and can’t have a CNAME next to A records. - Click Add record.
- Fill in:
- Type: CNAME
- Name:
www(ororder) - Target:
shops.direct.eat - Proxy status: click the orange cloud so it turns grey and says DNS only
- TTL: Auto
- Click Save.
- Go back to direct.eat and click Check now on your domain card.
The bare domain (yourrestaurant.co.uk)
Section titled “The bare domain (yourrestaurant.co.uk)”Cloudflare supports a CNAME on the bare domain (it “flattens” it automatically), so you don’t need forwarding:
- In direct.eat, add the bare domain as a second address on the same shop.
- In Cloudflare DNS → Records, delete any A or AAAA records on
@(shown as your domain name). - Add record: Type CNAME, Name
@, Targetshops.direct.eat, Proxy status DNS only. - Save.
The bare domain then redirects to your main address.
If we asked you to prove ownership
Section titled “If we asked you to prove ownership”If your domain card shows Please prove you own this domain (or you’re moving from another platform without downtime), add each TXT record from the card:
| Type | Name | Content |
|---|---|---|
| TXT | _cf-custom-hostname.order (Cloudflare also accepts the full name from your card) |
the value from your card |
TXT records have no proxy setting.
How long it takes
Section titled “How long it takes”Cloudflare DNS changes usually show within a few minutes. If the old record had a long TTL, other networks may keep the old answer for a while longer, occasionally up to 48 hours. The direct.eat checker updates every 10 seconds while the page is open.
Cloudflare gotchas
Section titled “Cloudflare gotchas”- Grey cloud, not orange. If you’re sure you need Cloudflare’s proxy in front of your own site, connect a different name (such as
order) for direct.eat and leave that one grey. - CAA records: if you’ve added CAA records in Cloudflare, they must allow our certificate authorities. Add
0 issue "letsencrypt.org"and0 issue "pki.goog". See Domain and SSL problems. - Page Rules and redirect rules on your zone don’t affect a DNS-only record, but a redirect rule that matches
wwwcould. Check none apply to the name you’re connecting. - Leave MX, SPF, DKIM and DMARC records alone. Your email keeps working.
Let us do it
Section titled “Let us do it”On your domain card, click Ask us to set it up and choose Give us DNS access. In Cloudflare, go to Manage Account → Members and invite us with a DNS-only role. Remove our access once it’s done. Or book a 15-minute screen-share. We never need your password.
Related
Section titled “Related”Was this page helpful?