CantV
CantV

Reputation: 79

Access Denied - S3 Index Document

I've uploaded multiple pages to S3 to host a static website. Individually, they load fine.

https://s3.eu-north-1.amazonaws.com/MYDOMAIN/services

For example, will load the services page. Clicking Contact will load the contact page.

However, if I try to navigate to root, i.e.

https://s3.eu-north-1.amazonaws.com/MYDOMAIN/

I get

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Code>AccessDenied</Code>

Any advice would be great. S3 is driving me insane.

Upvotes: 0

Views: 373

Answers (1)

Abdelrahman Gobarah
Abdelrahman Gobarah

Reputation: 1589

Go to your Bucket and right-click on object or whole folder then Make Public

Then Refresh


from this answer Access Denied for index.html Amazon S3 static website

You can see your endpoint by going to S3 > Click on your bucket > Bucket Properties > Static website hosting > should reveal your endpoint.

Upvotes: 1

Related Questions