Updated on 2023-02-17 GMT+08:00

Configuring Static Website Hosting

After the static website files are uploaded, perform the following steps to configure the static website hosting for the bucket.

You can also redirect the entire static website to another bucket or domain name. For details, see Configuring Redirection.

  1. Click the bucket name to go to the Objects page. In the navigation pane, choose Basic Configurations > Static Website Hosting.
  2. Click Configure Static Website Hosting.
  3. In the dialog box that is displayed, enable this function and select Host a static website for Hosting Type. Set Homepage to index.html and 404 Error Page to error.html, as shown in Figure 1.

    Figure 1 Configuring static website hosting

    You can also configure redirection rules as needed to redirect your website content. For details, see Static Website Hosting.

  4. Click OK.