1003 Cloudflare Origin: Edge & web server Last updated 14 Oct 2026

Cloudflare Error 1003: Direct IP access not allowed

The request went to a Cloudflare IP address directly (or with a Host header for a domain not on Cloudflare).

Exact message you may see Direct IP access not allowed
Seen on: Cloudflare

Meaning

Cloudflare needs the hostname to know which site you want. Typing a Cloudflare IP in the browser, or tools setting a wrong Host header, trigger 1003.

Common causes

  • Browsing to a Cloudflare IP instead of the domain
  • Wrong Host header in a client/proxy
  • Hosts file mapping a domain to a Cloudflare IP

⚡ Quick fix

  1. Use the domain name, not the IP
  2. Fix the Host header in your client/proxy
  3. To test the origin, connect to the origin IP, not Cloudflare’s

Detailed fix by platform

Shell

  1. bash
    curl -s https://example.com/ -o /dev/null -w '%{http_code}
    '

How to diagnose

  1. URL — IP or hostname?
  2. Host header — Matches a Cloudflare zone?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Edge & web server. Errors that are often confused with or caused by this one (click to open):

1000 — Cloudflare Error 1000: DNS points to prohibited IP (Cloudflare)10001001 — Cloudflare Error 1001: DNS resolution error (Cloudflare)10011002 — Cloudflare Error 1002: DNS points to Prohibited IP / Restricted (Cloudflare)10021004 — Cloudflare Error 1004: Host Not Configured to Serve Web Traffic (Cloudflare)10041013 — Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch (Cloudflare)10131014 — Cloudflare Error 1014: CNAME Cross-User Banned (Cloudflare)10141016 — Cloudflare Error 1016: Origin DNS error (Cloudflare)10161023 — Cloudflare Error 1023: Could not find host (Cloudflare)10231003

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.