In this documentation you will learn how to enable and use the bucket website feature via the Scaleway console.
To use the bucket website feature, you need to enable it on the bucket or buckets you wish to host your website on.
1 . From the Object Storage dashboard, click the name of the bucket you wish to host your website on.
2 . Scroll down to the bottom of the Bucket Settings tab and click Enable Bucket Website.
A pop-up appears.
3 . Click the toggle button 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:
When Bucket Website is enabled, a default bucket policy is applied. All objects in the bucket then become publicly visible. You can create your own bucket policy to change the visibility settings via CLI.
4 . 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.
5 . 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.