Update content

How to enable and use the bucket website feature

Reviewed on 31 May 2021Published on 17 March 2021

The Bucket Website feature allows you to host static websites using Scaleway Object Storage.


To use the bucket website feature, you need to enable it on the bucket or buckets you wish to host your website on.

  1. Click Object Storage in the Storage section of the side menu. The list of your buckets displays.

  2. Click the name of the bucket you wish to host your website on.

  3. Scroll down to the bottom of the Bucket Settings tab and click Enable Bucket Website. A pop-up appears.

  4. 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.


    The index and error files are commonly named index.html and error.html, respectively.

    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.

  5. 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.


    If this is your first time uploading objects into a bucket, you can follow the step-by-step on this documentation page.

  6. Access the website by clicking on the Website URL.


    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.

See Also