I have hosted Static website in AWS S3 and CloudFront. website contexts is multiple pages. I do have a problem with distribution. For example i do have have domain example.cloudfront.net when i am accessing it from this domain no problem i can go there and click on every page that i have lets say i am in a main page and i click about and domain automatically becomes example.cloudfront.net/about/ when i cope this path and paste it in a new page it gives
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
not sure what is the issue. Is there anyone who could help? Thank you
Tried to give permission to access multiple folder inside of the bucket individually and also for whole bucket. Tried to recreate everything from scratch if I missed something but nothing helps. We can not make bucket public FYI