R2 Public Access using Custom Domain Issue

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

stage.furypage.com

What is the error number?

403

What is the error message?

AccessDenied

What is the issue or error you’re encountering

I added the custom domain to my r2 bucket but I can’t access files from my browser

What steps have you taken to resolve the issue?

I tested a lot of different CORS configurations as suggested in this topic Problem with settings CORS policies on R2
But none have worked.
I also tried to add Transform Rules as suggested in the same topic and it hasn’t worked either.
I also read in the documentation, that we should not have CNAME flattening on the custom domain but I have flattening only on the Apex.

What are the steps to reproduce the issue?

Go to this URL and see the AccessDenied error
https://stage.furypage.com/Animal_08-2024.png

Screenshot of the error

I eventually discovered that I had a cloudfront instance redirected to this subdomain. Thanks for the help on discord :wink:

1 Like

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