Skip to content

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.

Type Name Target Proxy status TTL
CNAME www (or order if you’re keeping your website) shops.direct.eat DNS only Auto
The direct.eat step-by-step guide for Cloudflare, marked Detected from your DNS: open DNS Records, add a CNAME, set Proxy status to DNS only (grey cloud) and save, with notes on the bare domain and keeping the cloud grey
  1. Sign in to the Cloudflare dashboard and select your domain.
  2. Go to DNS → Records.
  3. If there’s already an A, AAAA or CNAME record named www (or order), edit or delete it. A name can only have one CNAME, and can’t have a CNAME next to A records.
  4. Click Add record.
  5. Fill in:
    • Type: CNAME
    • Name: www (or order)
    • Target: shops.direct.eat
    • Proxy status: click the orange cloud so it turns grey and says DNS only
    • TTL: Auto
  6. Click Save.
  7. Go back to direct.eat and click Check now on your domain card.

Cloudflare supports a CNAME on the bare domain (it “flattens” it automatically), so you don’t need forwarding:

  1. In direct.eat, add the bare domain as a second address on the same shop.
  2. In Cloudflare DNS → Records, delete any A or AAAA records on @ (shown as your domain name).
  3. Add record: Type CNAME, Name @, Target shops.direct.eat, Proxy status DNS only.
  4. Save.

The bare domain then redirects to your main address.

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.

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.

  • 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" and 0 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 www could. Check none apply to the name you’re connecting.
  • Leave MX, SPF, DKIM and DMARC records alone. Your email keeps working.

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.

Was this page helpful?