In the detail page of your S3 bucket,
Properties
tab.Static website hosting
section, click Edit
.Static website hosting
is Disable
.Static website hosting
, select Enable
Hosting type
, select Host a static website
.Index document
, enter index.html
Scroll to bottom, click Save changes
.
You will be redirected back to the detail page of S3 bucket.
Scroll to Static website hosting
section, click the Copy
button to copy the Bucket website endpoint
.
AccessDenied
response in XML, you receive an 403 Forbidden
response in HTML.Although you’ve turned on Static website hosting
and had a Bucket website endpoint
, you still can’t publicly access the content of your website.
If you want your website to be public, you must make all your content publicly readable for your customers to be able to access it at the website endpoint.
In the next step, you will make your bucket publicly readable, so your website can be publicly access.