Website Errors

How to Fix Cloudflare Error 1018 (Could Not Find Host)

Error 1018Plain English: the website's DNS settings send visitors to a hostname that doesn't exist (anymore), so Cloudflare can't find anything to connect to — and nobody can reach the site until the owner repoints the record.
Quick answer: Error 1018 is a DNS misconfiguration on the site owner's side: a CNAME record points at a hostname that cannot be resolved — a deleted subdomain, an expired trial host, or a typo in the target. The owner must log in to Cloudflare, go to DNS, then Records, test the CNAME target hostname, and repoint the record to a hostname that actually resolves (or switch to an A record with the origin server's real IP), then verify propagation and purge the Cloudflare cache. Visitors cannot fix it themselves; contact the owner and try again in a few hours. The full steps are below.

What Error 1018 means

Cloudflare's 1xxx error family covers DNS and proxy configuration problems, and Error 1018 is the one that says "Could not find host." It means the domain's DNS points at a hostname that Cloudflare cannot resolve to any server. Since there is no destination to connect to, Cloudflare serves the Error 1018 page instead of the website.

This is purely a configuration mistake, and it lives entirely in the site's DNS settings. Nothing about your computer, browser, or internet connection causes it, and nothing on the visitor's side can resolve it. The page is only ever shown for domains that are already on Cloudflare — which is why the fix always belongs to the site owner or their hosting provider. It helps to distinguish 1018 from its neighbors: Error 1001 means Cloudflare has no DNS record for the domain at all, while Error 1014 means a CNAME was set up across Cloudflare accounts, which Cloudflare does not allow by default.

Common causes

How to fix Error 1018 — step by step

Steps 1 through 5 are for the site owner. Step 6 is for visitors.

  1. Recognize that Error 1018 is an owner-side DNS problem. Error 1018 is served by Cloudflare only for domains already using Cloudflare, and it means the site's DNS configuration points visitors at a hostname that cannot be resolved. No browser setting, VPN, or device change can fix it — only the site owner (or their hosting provider) can correct the DNS record. Visitors should skip to step 6; the middle steps are for the site owner.
  2. Site owner: open the domain's DNS records in Cloudflare. Log in to the Cloudflare dashboard, select the domain, then go to DNS, then Records. Look for CNAME records, especially the ones for the failing hostname — often www, shop, or the apex record flattened to a target. Note each record's target hostname before changing anything, so you can undo a mistake.
  3. Site owner: test the target hostname to confirm it does not resolve. Take the hostname your CNAME points at and test it independently: run nslookup or dig on it, or use an online DNS checker. If it returns no IP address, or the host no longer exists, you have found the cause. Common cases: the target was a trial hosting subdomain that expired, a staging domain that was deleted, a service like a page builder whose account was closed, or a simple typo in the target hostname.
  4. Site owner: repoint the CNAME at a hostname that actually resolves. Edit the broken CNAME record in Cloudflare and change its target to a hostname that resolves — your current hosting provider's server hostname, a CDN endpoint you control, or the correct service URL. If the host no longer exists anywhere, switch the record type to A and point it directly at your origin server's real IP address, which you can find in your hosting control panel. Keep the proxy status (orange cloud) enabled unless your host specifically says otherwise, then save.
  5. Site owner: verify propagation, then purge the Cloudflare cache. DNS changes propagate within minutes to a few hours. Check with a global DNS checker that the domain now resolves through Cloudflare and loads. Once it looks right everywhere, go to Caching, then Configuration in the Cloudflare dashboard and click Purge Everything — this clears any cached copies of the Error 1018 page so visitors see the working site immediately instead of a stale error.
  6. Visitor: report it to the owner and retry later. As a visitor you cannot fix Error 1018 — the broken setting lives in the site owner's DNS. Reload the page once to rule out a cached error, then reach the owner through their other channels: social media accounts, a contact email, or their support system. Tell them you are seeing Cloudflare Error 1018 (could not find host), which means a DNS record points at a hostname that does not resolve — that phrase tells them exactly what to fix. Try the site again after a few hours; once the owner repoints the record and purges the cache, the site loads normally.

Did this fix it? Quick checklist

If you are the owner and the error persists after the record looks right, double-check that you edited the record for the hostname visitors are actually hitting — www and the apex are often separate records, and one of them may still point at the dead hostname. Also confirm you edited the DNS zone that is actually active for the domain: if nameservers still point at the old host or registrar, your Cloudflare edits change nothing until the nameserver switch completes.

Frequently asked questions

What does Cloudflare Error 1018 mean?

Error 1018 means Cloudflare could not resolve the hostname the site's DNS points to. The page reads: Could not find host. This is a DNS configuration error on the site owner's side — a CNAME record targets a hostname that does not exist or no longer resolves — not a problem with your browser or connection.

Why does Error 1018 happen?

It happens when a CNAME record points at a hostname that is broken, deleted, or expired. Typical cases: a trial hosting subdomain that lapsed, a staging domain that was removed, a third-party service account that was closed, a typo in the target hostname, or a hosting migration where the new server's hostname was never updated in the DNS records.

Can I fix Error 1018 as a visitor?

No. The broken setting is the site owner's DNS record, and only someone with access to the domain's Cloudflare account can change it. Clearing your browser cache or switching networks will not help. The right move is to reload once, then contact the site owner through their social accounts or email, mention Cloudflare Error 1018, and try again in a few hours.

How is Error 1018 different from Error 1001?

Error 1001 means Cloudflare has no DNS record at all for the domain, while Error 1018 means a record exists but its target hostname cannot be resolved. Both are owner-side DNS problems, but 1018 specifically points at a bad CNAME target, whereas 1001 means the domain is pointed at Cloudflare with no DNS configured in the zone.

How long does Error 1018 take to clear after fixing DNS?

The corrected record usually propagates within minutes to a few hours worldwide. After confirming with a global DNS checker that the domain resolves and loads, purge the Cloudflare cache (Caching, then Configuration, then Purge Everything) so cached copies of the error page do not keep showing. If some visitors still see the error, their local DNS cache may need a little longer to expire.