0

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.

Abdelrahman Gobarah
  • 1,544
  • 2
  • 12
  • 29
CantV
  • 69
  • 1
  • 7

1 Answers1

1

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.

Abdelrahman Gobarah
  • 1,544
  • 2
  • 12
  • 29