Creating a static web hosting site
Use this information for creating a static web hosting site.
To create a static website, perform the following steps:
-
Create an S3 bucket. The bucket name MIGHT be the same as the website’s domain name. For example,
mysite.commay have a bucket name ofmysite.com. This is required for AWS, but it is NOT required for Ceph.For more information, see Static web hosting DNS configuration.
-
Upload the static website content to the bucket. Contents may include HTML, CSS, client-side JavaScript, images, audio/video content, and other downloadable files. A website MUST have an
index.htmlfile and might have anerror.htmlfile. -
Verify the website’s contents. At this point, only the creator of the bucket has access to the contents.
-
Set permissions on the files so that they are publicly readable.