Cloudfare has been working for years, two days ago I woke up to I woke up to 404 er

What is the name of the domain?

What is the error number?

404

What is the error message?

not found, the resource requested could not be found on this server!

What is the issue you’re encountering

Cloudflare has been working for years on my website yesterday I woke up to 404 errors on all my pages except for the homepage

What steps have you taken to resolve the issue?

I’ve paused Cloudflare and my website works properly from my origin server all pages show and I can post/edit etc. The moment I unpause Cloudflare I can no longer edit/post and all pages except my homepage show 404 error instead of the page. I’ve checked all my DNS everything is correct, I’ve checked the nameservers those are correct. I’ve not changed anything on my Cloudflare and not changed anything on my website so I don’t know what has happened. My hosting companies keeps telling me to contact Cloudflare but I have a free account and can’t contact them apparently due to that.

What are the steps to reproduce the issue?

I have to enable Cloudflare on website and the issue persists. When its paused the issue is gone.

Screenshot of the error

Can you go to “Trace” in the Cloudflare dashboard and ask it to get https://sandraadamson.com/about-me/ and show a screenshot of the result.
https://dash.cloudflare.com/?to=/:account/trace
(You can compare it to https://sandraadamson.com/ which works ok).

The 404 is coming from the origin so this is to check if there’s something in your Cloudflare configuration that’s modifying the request on the way through and passing a non-existing URL to your origin.

Currently with the domain not proxied, that page works and through Cloudflare it 404s as you say…

curl -svo /dev/null https://sandraadamson.com/about-me/ --connect-to ::104.21.16.1
* Connecting to hostname: 104.21.16.1
*   Trying 104.21.16.1:443...
* Connected to 104.21.16.1 (104.21.16.1) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [322 bytes data]
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* (304) (IN), TLS handshake, Unknown (8):
{ [19 bytes data]
* (304) (IN), TLS handshake, Certificate (11):
{ [2547 bytes data]
* (304) (IN), TLS handshake, CERT verify (15):
{ [79 bytes data]
* (304) (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* (304) (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=sandraadamson.com
*  start date: Jan 10 14:21:19 2025 GMT
*  expire date: Apr 10 15:19:36 2025 GMT
*  subjectAltName: host "sandraadamson.com" matched cert's "sandraadamson.com"
*  issuer: C=US; O=Google Trust Services; CN=WE1
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://sandraadamson.com/about-me/
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: sandraadamson.com]
* [HTTP/2] [1] [:path: /about-me/]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
> GET /about-me/ HTTP/2
> Host: sandraadamson.com
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/2 404
< date: Sat, 22 Feb 2025 15:09:29 GMT
< content-type: text/html
< cache-control: private, no-cache, no-store, must-revalidate, max-age=0
< pragma: no-cache
< vary: User-Agent,Accept-Encoding
< x-turbo-charged-by: LiteSpeed
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=xTMEkHhhOtrJGFtRimr4QLqO%2BlLWvH87bpxe%2BQFlwRjeO55NHt8X41aUCOQiwbiRJen9neLplXUeRbfGgEo0AxL9nCO1bWOaGTMICj27fpUdE7IaucnrTFEgFirHjk45Do4gsw%3D%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 915fe5c12ae00018-LHR
< alt-svc: h3=":443"; ma=86400
< server-timing: cfL4;desc="?proto=TCP&rtt=0&min_rtt=0&rtt_var=0&sent=0&recv=0&lost=0&retrans=0&sent_bytes=0&recv_bytes=0&delivery_rate=0&cwnd=0&unsent_bytes=0&cid=6d1955b790b81f06&ts=102&x=0"
<
{ [1251 bytes data]
* Connection #0 to host 104.21.16.1 left intact
1 Like

Also I’ve been reminded, check your SSL/TLS setting is “Full (strict)” here…
https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls

Thank you sjr, I had my SSL on flexible although its been on that since I first signed up and has always connected, so not sure why that would have made a difference, but the moment I switched it to full (strict) I turned Cloudflare back on and everything seems to be working as it should I am going to watch it for a bit, I used the trace link you put up and my about me page came back 200 ok like my home page now and everything seems to be working just checked all the main pages and they are appearing now, no more 404 error. Thank you so much for this help, because I am not a web person and I was literally lost as to what was wrong! Appreciated more than words can say!

Sandra

This topic was automatically closed after 15 days. New replies are no longer allowed.