Successfully deployed my website, but it gives me a 404

|2023-02-13T16:31:17.113661Z|✨ Success! Uploaded 3 files (1.74 sec)|
|2023-02-13T16:31:17.113957Z||
|2023-02-13T16:31:17.430004Z|✨ Upload complete!|
|2023-02-13T16:31:18.756776Z|Success: Assets published!|
|2023-02-13T16:31:19.492609Z|Success: Your site was deployed!|

No webpage was found for the web address: website

HTTP ERROR 404

This is just especially weird for me, and I can’t find anything in the FAQ to check me on this. Is using a private github directory my issue? because I have the same issue doing a direct upload.

1 Like

What’s the domain?

I’m just trying to view it on pages dot dev.

I can’t post links.

use ` or you might not have the thing.

I am brand new at Cloudflare so I don’t know what the thing is.

If you go to your Pages Project, under deployments, you can see your pages.dev


The “grape-test.pages.dev” in this case.

But to debug your actual issue, is your root directory set directly? If everything is in the root (top level) of your Github repo, then that isn’t the issue. Secondly, do you have an “index.html”? Or are you visiting a page that you know will exist? For example, if you have home.html, you’ll need to go to yourpages.pages.dev/home.html. index.html is what pages will serve on your apex with no page (i.e at yourpages.pages.dev)

1 Like

Hey thank you, that was it, I just hadn’t named my HTML file index.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.