For Workes & Pages, what is the name of the domain?
hosthhi.com
What is the issue or error you’re encountering
I’ve set up a custom route to trigger a Cloudflare Worker, for the purpose of displaying a custom XML Sitemap. When navigating to the URL route, I get a 404 error. In regards to my DNS Settings, the two A record IP addresses and the CNAME for www were provided by the agency we’re working with, and we know that they use WPEngine, which I believe also uses Cloudflare. Could this been an Orange-to-Orange issue, in that because they are also using Cloudflare (via WPEngine) that it’s causing issue(s)?
What steps have you taken to resolve the issue?
I’ve purged the cache. I’ve checked the Logs. I also attempted to perform a Trace, but received the error: “hostname does not belong to your account”.
As you get “hostname does not belong to your account” when doing the trace, then yes, the request isn’t passing through your account so you need to use the O2O CNAMEs for WP Engine if you want them to do so.
You can redirect the apex domain to www if that’s what you want to do.
A CNAME at the apex will also work for O2O. It will be flattened to return A/AAAA records when queried externally, but you must set it as a CNAME in your Cloudflare DNS if you want O2O on the apex domain (as Cloudflare can obviously see the underlying CNAME that a DNS request can’t).