How to enable and use the bucket website feature
To use the bucket website feature, you need to enable it on the bucket or buckets you wish to host your website on.
Click Object Storage in the Storage section of the side menu. The list of your buckets displays.
Click the name of the bucket you wish to host your website on.
Scroll down to the bottom of the Bucket Settings tab and click Enable Bucket Website. A pop-up appears.
Click the «Toogle Icon» icon to enable the feature. You are then asked to specify the names of the index and error files of your website that will be uploaded to the bucket.Note:
The index and error files are commonly named
A warning message informs you that:
Enter the names and click Save configuration to confirm. The details of your website configuration display. After setting up the basic bucket website configuration, you can upload the index and the error files to your bucket, as well as the other files that make up your static website.Note:
If this is your first time uploading objects into a bucket, you can follow the step-by-step on this documentation page.
Access the website by clicking on the Website URL.Note:
You can also configure a CNAME record for your bucket URL, to be able to access the website through a domain name of your choice.