Cloudflare Pages No webpage was found for the web address: HTTP ERROR 404

For Workes & Pages, what is the name of the domain?

jnjustice.pages.dev

What is the error number?

HTTP ERROR 404

What is the error message?

This jnjustice.pages.dev page can’t be foundNo webpage was found for the web address: https://jnjustice.pages.dev/ HTTP ERROR 404

What is the issue or error you’re encountering

The page does not load upon deployment.

What steps have you taken to resolve the issue?

I created a Cloudflare Pages project linked to Github for a Static HTML site. The site is HTML and a PNG image file.

  • I checked the website on my local machine and both the HTML and the PNG within the page load fine.
  • I confirmed the Settings > Builds & deployments and they are below.

Build command:
Build output directory: /
Root directory: /

  • I checked my Github repository and the website.html and profile-picture.png are both stored in / which is the root directory.
  • I checked the Build log which shows the files both being uploaded and the Assets uploaded and confirmed both files were uploaded.

I figured it out after quite a bit of digging. The main page/html must be ‘index.html’ no other name will work. Once I updated that the page loaded after it redeployed.

1 Like

Hi @jnjustice,

We are happy to hear that you were able to fix this issue.

Thank you for sharing the solution with other users.