Website Errors

How to Fix Cloudflare Error 1034 (Edge IP Restricted)

Error 1034Plain English: your domain's DNS is pointing at one of Cloudflare's own IP addresses (often 1.1.1.1), which your account is not allowed to use — so Cloudflare refuses to serve the site until the DNS points at an IP you actually control.
Quick answer: Error 1034 is a DNS misconfiguration on the site owner's side. Open the domain's DNS records in the Cloudflare dashboard (DNS, then Records), replace any A or AAAA record pointing at 1.1.1.1 or another Cloudflare-owned address with the real IP of your origin server, and use the documented reserved addresses 192.0.2.0 (IPv4) or 100:: (IPv6) for originless or placeholder setups. As a visitor you cannot fix this — copy the Ray ID from the error page and send it to the site owner. The full steps are below.

What Cloudflare Error 1034 means

Cloudflare's 1xxx family covers DNS, proxy, and security-configuration problems, and Error 1034 sits in the DNS corner. The page reads "Edge IP Restricted" and serves an HTTP 403, with a Ray ID printed at the bottom. The plain-English version: your domain's DNS record points at an IP address that Cloudflare's edge IP validation considers restricted — an address reserved for specific Cloudflare accounts, such as BYOIP prefixes, dedicated or static IP allocations, or other customer-associated ranges. Cloudflare checks whether incoming traffic to those IPs is associated with an authorized account before allowing the request through. If it is not, the edge refuses the request instead of serving the site.

The classic trigger is a domain pointed at 1.1.1.1. Some people set their A record to 1.1.1.1 years ago as a placeholder, and after Cloudflare tightened edge validation, those domains started showing the 1034 page. The same thing happens after migrations, when a record still points at a previous host's IP or at a Cloudflare-owned address from a different setup. Because the decision happens at Cloudflare's edge before any request reaches an origin server, the block is total: nobody can load the site until the DNS records are corrected.

Common causes

How to fix Error 1034 — step by step

Step 2 is for visitors. Steps 3 through 6 are for site owners.

  1. Confirm the page is really Error 1034, not a lookalike Cloudflare block. Cloudflare's Error 1034 page reads Edge IP Restricted, serves an HTTP 403, and prints a Ray ID at the bottom. That wording matters because several neighbors look similar: 1000 and 1002 mean the DNS points to a prohibited IP in general, 1009 bans your country or region, 1014 bans a CNAME that crosses into another account, 1020 matches a custom WAF rule the owner wrote, and the 5xx family (521, 522, 523) means Cloudflare reached the edge but the origin server failed. If the page says Edge IP Restricted, these steps apply; if it says anything else, look up that exact code instead.
  2. Visitor: accept that only the site owner can fix this — capture the Ray ID. Error 1034 is a DNS-misconfiguration block on the owner's side, so no visitor-side trick — clearing cache, switching browsers, disabling a VPN, or flushing DNS — will clear it. The fastest useful move is to copy the Ray ID and the IP address shown at the bottom of the error page, then contact the site owner through their contact email, social accounts, or support form. Tell them you are seeing Cloudflare Error 1034 (Edge IP Restricted), include the Ray ID, and ask them to check that the domain's A and AAAA records point to IP addresses they control. The Ray ID lets the owner find the exact blocked request in their Security Events log.
  3. Owner: open the domain's DNS records in the Cloudflare dashboard. Log in to the Cloudflare dashboard, select the domain showing the error, and go to DNS, then Records. Look at the A and AAAA records for the root domain and for www. Error 1034 almost always comes from one record pointing at an address the account is not authorized to use — most often 1.1.1.1, another Cloudflare-owned address, or a leftover IP from a previous host. Note each record's current content before you change anything, so you can roll back if needed.
  4. Owner: repoint the A record at an IP address you actually control. Edit the offending A record and replace its content with the real public IP address of your origin server — the web host's IP, shown in your hosting control panel. Delete any record that still points to 1.1.1.1 or to a Cloudflare-owned address. If the AAAA record has the same problem, fix it the same way. Keep the record proxied (the orange cloud) if you want Cloudflare's protection; the restriction is about the underlying IP, not the proxy setting. DNS changes usually take effect within minutes, though some resolvers cache longer.
  5. Owner: for originless or placeholder setups, use the documented reserved addresses. If the domain intentionally has no origin yet — a parked page, a redirect-only setup, or a placeholder during a migration — Cloudflare's own documentation says to use the IPv4 reserved address 192.0.2.0 or the IPv6 reserved address 100:: instead of 1.1.1.1 or any other Cloudflare address. Set the A record to 192.0.2.0 (or AAAA to 100::) and leave it proxied. These documentation addresses exist precisely so edge IP validation passes while the site has no real origin.
  6. Owner: after a host migration, verify the new records actually took effect. Error 1034 frequently survives a migration because the old record was never replaced or the new one never saved. In the dashboard, confirm the A record shows exactly the IP addresses your new host gave you, with no stale entry left beside it. Then check from the outside with an online DNS lookup tool or nslookup / dig on your own computer: the answers for your domain should match the new IPs. If the lookup still shows the old address, you are looking at cached DNS or an unsaved change, not a new problem — wait out the record's TTL and recheck.

Did this fix it? Quick checklist

If the error persists after the DNS looks right everywhere, the restriction may be tied to a BYOIP prefix or a dedicated IP allocation on the account — that is the deeper Edge IP Validation case from Cloudflare's docs. Contact Cloudflare support with the Ray ID; only they can confirm whether the IP your domain points at is restricted for your account. And if you run the site through a platform that manages DNS records on your behalf, check their side too: a record they maintain can quietly reintroduce the old IP after you fixed it.

Frequently asked questions

What does Cloudflare Error 1034 mean?

Error 1034 (Edge IP Restricted) means the domain's DNS points to an IP address restricted by Cloudflare's edge IP validation — an address your account is not authorized to use, such as 1.1.1.1 or another Cloudflare-owned address. Cloudflare answers with an HTTP 403 instead of serving the site. It is a DNS misconfiguration on the site owner's side, not a visitor problem.

Why did Error 1034 appear when the site worked fine before?

Cloudflare added an edge validation check that now rejects hostnames landing on restricted IPs unless they are associated with an authorized account. Setups that pointed a domain at 1.1.1.1 used to limp along and now hit the 1034 page instead. The fix is the same regardless of history: point the DNS at an IP you control.

Can I fix Error 1034 myself as a visitor?

No. Error 1034 is entirely about the site owner's DNS records, so clearing your cache, switching browsers, or changing networks will not help. The best you can do is copy the Ray ID from the error page and send it to the site owner, asking them to verify the domain's A and AAAA records point to addresses they control.

What IP should I use if the site has no origin server yet?

Cloudflare's documentation recommends the IPv4 reserved address 192.0.2.0 or the IPv6 reserved address 100:: for originless or placeholder setups. These are documentation addresses designed to pass edge IP validation, unlike 1.1.1.1, which is a real Cloudflare service address and triggers Error 1034.

How is Error 1034 different from Error 1000 or Error 1002?

All three are DNS problems, but 1000 and 1002 mean the record points to a prohibited IP in general — commonly another Cloudflare IP or a bad CNAME target. Error 1034 is the newer, narrower case: the IP is part of restricted IP space (BYOIP prefixes, dedicated allocations, or Cloudflare-owned addresses like 1.1.1.1) and your account is not authorized to receive traffic on it. The wording on the error page tells you which one you have.