404 Object Not Found

Hello, sorry if this has been asked earlier, as a new guy I just uploaded a very simple website to R2 but can't see it on my custom domain. 1. The Public Access is enabled 2. the content uploaded 3. the custom domain set and enabled 4. the DNS setting is automatically configured, I have my domain hosted in cf dns but when I open the domian, it says 404. See all the attached screenshots. Please help, thanks
No description
No description
No description
No description
8 Replies
Hello, I’m Allie!
@George would you mind sharing the domain you used?
Hello, I’m Allie!
Seems to work for me?
No description
George
GeorgeOP5mo ago
ye works for you, not for me, why? Thanks @Hello, I’m Allie! anyway
George
GeorgeOP5mo ago
ah, that's the reason... but shouldn't a website automatically read index.html if not specified?
Hello, I’m Allie!
Yeah, R2 doesn't automatically collapse /index.html to /. Workers Assets can do that though
George
GeorgeOP5mo ago
you mean I have to use a worker to do so? chatgpt said cf pages could do that, let me try, thanks @Hello, I’m Allie!
Hello, I’m Allie!
Pages is the old way, Workers Assets is what we recommend now

Did you find this page helpful?