October 28, 2020 By Mike Lamb 2 min read

Configure and access any of your Cloud Object Storage buckets as a website.

Customers have been hosting their images and video for their websites in IBM Cloud Object Storage. Today, the entire static website can be hosted on Cloud Object Storage without having to run a separate application, VM, or bare metal server to host the web server. You can now configure and access any of your Cloud Object Storage buckets as a website, complete with index and error documents.

Website endpoints

To access the static website function, Cloud Object Storage provides a new website endpoint for each bucket location. For example, s3-web.us-east.cloud-object-storage.appdomain.cloud is the endpoint for the US East region. The existing buckets and endpoints continue to work the same way.

Root and index documents

When you configure your bucket as a website, you can specify the index document you want returned for requests made to the root of your website. For example, a GET request made to the following URI (either direct or via a CNAME):


Will return the following object:


Error document

When a static website bucket error occurs, an HTML page of the error provided by the configured error page will be returned.

Redirect and routing rules

You can globally redirect all of your traffic, or you can create individual rules that process incoming requests for specific pages based on the rules you define.

You can use the custom bucket template in the Cloud Object Storage UI to create a static website with a new bucket. To make an existing bucket into a static website, you can use the Bucket Configuration panel.

Static website hosting on Cloud Object Storage allows you to now build a cloud-native, entirely serverless application, complete with a website!

Learn more 

Was this article helpful?

More from Cloud

IBM Tech Now: April 8, 2024

< 1 min read - ​Welcome IBM Tech Now, our video web series featuring the latest and greatest news and announcements in the world of technology. Make sure you subscribe to our YouTube channel to be notified every time a new IBM Tech Now video is published. IBM Tech Now: Episode 96 On this episode, we're covering the following topics: IBM Cloud Logs A collaboration with IBM watsonx.ai and Anaconda IBM offerings in the G2 Spring Reports Stay plugged in You can check out the…

The advantages and disadvantages of private cloud 

6 min read - The popularity of private cloud is growing, primarily driven by the need for greater data security. Across industries like education, retail and government, organizations are choosing private cloud settings to conduct business use cases involving workloads with sensitive information and to comply with data privacy and compliance needs. In a report from Technavio (link resides outside ibm.com), the private cloud services market size is estimated to grow at a CAGR of 26.71% between 2023 and 2028, and it is forecast to increase by…

Optimize observability with IBM Cloud Logs to help improve infrastructure and app performance

5 min read - There is a dilemma facing infrastructure and app performance—as workloads generate an expanding amount of observability data, it puts increased pressure on collection tool abilities to process it all. The resulting data stress becomes expensive to manage and makes it harder to obtain actionable insights from the data itself, making it harder to have fast, effective, and cost-efficient performance management. A recent IDC study found that 57% of large enterprises are either collecting too much or too little observability data.…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters