Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Lovable Cloudflare 1001
Fix · Lovable

Cloudflare error 1001 / 1003 on a Lovable domain

Lovable's docs: "These errors come from Cloudflare's proxy, not from Lovable." Fix: in Cloudflare, open DNS, Records, and click the orange cloud on every record for your Lovable domain so it turns gray (DNS only). Wait a few minutes, then in Lovable use Check again.

Fix it, step by step

  1. Cloudflare dashboard, your domain, DNS, Records.
  2. On each record for the hostname you connected to Lovable (the A record, plus AAAA if Lovable listed one), click the orange cloud so it shows DNS only (gray). Lovable: set them to "DNS only (gray cloud) instead of Proxied (orange cloud)".
  3. Delete any other A, AAAA or CNAME record at the same name. Lovable: "remove every other A, AAAA, or CNAME record at that name".
  4. Keep the TXT record: host _lovable (or _lovable.<prefix> for a subdomain), value starting lovable_verify=.
  5. Wait a few minutes. In Lovable: More, Domains, the three-dots menu on the domain, Check again, until it shows Active.

If you want to keep Cloudflare's proxy

Lovable supports it, but only when you connect the domain that way: enable Advanced, "Uses Cloudflare or similar proxy" while connecting. In proxy mode Lovable uses a CNAME record instead of an A record, and says to "Disable proxying while setup completes". Note Lovable's line: it "does not configure, validate, or monitor your CDN or proxy setup".

What 1001 and 1003 mean in Cloudflare's own words

ErrorCloudflare's causes
1001: DNS resolution errorA request reached a Cloudflare IP "for a non-existent Cloudflare domain"; a CNAME target "does not resolve"; or a domain not on Cloudflare has a CNAME pointing to one that is
1003: Direct IP Access Not Allowed"A client or browser directly accesses a Cloudflare IP address." Browse to the domain name, not an IP

Neither Lovable nor Cloudflare explains exactly why a proxied Lovable record triggers these, so this page sticks to the documented fix.

Same domain setup on Vercel or Netlify?

  • Vercel recommends connecting directly and, if you use Cloudflare, setting "the relevant Cloudflare records to DNS only". If you must proxy, use SSL mode Full (strict): "Flexible mode can cause a redirect loop".
  • Netlify support: its service "is not designed to work optimally with another CDN 'in front of' our CDN" and recommends "disabling Cloudflare's proxying".

Neither documents 1001 or 1003 specifically; the gray-cloud setup is simply what both recommend.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

Why does my Lovable domain show Cloudflare error 1001?

Lovable's docs say the 1001 and 1003 errors come from Cloudflare's proxy. Set your Lovable DNS records in Cloudflare to DNS only (gray cloud) and click Check again in Lovable.

Can I use Cloudflare proxy with a Lovable app?

Yes, if you connect the domain with Advanced, 'Uses Cloudflare or similar proxy'. Lovable then uses a CNAME record, and you keep proxying off until setup completes.

What is Cloudflare error 1003?

Direct IP Access Not Allowed: something opened a Cloudflare IP address directly instead of your domain name.

How long after fixing DNS does the Lovable domain work?

Lovable says to wait a few minutes and use Check again on the domain until it shows Active.

Related errors

Sources

Read 2 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools