I have just finished coding the first version of my new website and uploaded it to Cloudflare (who I also host the domain with) directly as a zip file. The assets were successfully uploaded and deployed but yet when I attempt to visit the domain I repeatedly receive a 404 error. Any help is appreciated, I’m not sure whether the error is with my root directory or something Cloudflare related.
Origin server was unable or unwilling to find the resource requested. This usually means the host server could not find the resource. To serve a more permanent version of this error one should use a 410 error code.
These errors typically occur when someone mistypes a URL on your site when there is a broken link from another page, when a page that previously existed is moved or removed, or there is an error when a search engine indexes your site. For a typical site, these errors account for approximately 3% of the total page views, but they’re often untracked by traditional analytics platforms like Google Analytics.
Website owners usually implement a custom page to be served when this error is generated.
Cloudflare does not generate 404s for customer websites, we only proxy the request from the origin server. When seeing a 404 for your Cloudflare powered site you should contact your hosting provider for help.