Overview of Bucket Domain Names
OBS bucket-related domain names include user-defined domain names and default domain names.
When you use the default domain name to access objects in a bucket, the objects are forcibly downloaded and cannot be previewed. If you do not want to expose a bucket's default domain name or want to preview objects in a browser, you can bind a user-defined domain name to the bucket and use this bound domain name to access objects in the bucket..
User-defined Domain Names
You can bind a user-defined domain name to a bucket, and then use this domain name to access the objects hosted in the bucket. For more information, see Accessing a Bucket Using a User-Defined Domain Name.
Default Domain Names
OBS assigns each newly created bucket an access domain name (also the default domain name) based on the bucket name and region information.
examplebucket.obs.ap-southeast-1.myhuaweicloud.com is an example default domain name. In this example, examplebucket is the bucket name and obs.ap-southeast-1.myhuaweicloud.com is the endpoint of the region where the bucket is located. For more information, see OBS Domain Names.
For security and compliance reasons, Huawei Cloud OBS does not allow you to use the default domain name of a bucket to preview objects in the bucket. After you upload a file to a bucket, OBS creates an access address for the uploaded file based on the bucket's default domain name. When you use this address to access the file in a browser, the file content is not displayed. Instead, the file is downloaded as an attachment.
The effective time and supported regions are as follows:
January 1, 2022: CN North-Beijing1, CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, and CN South-Guangzhou
March 25, 2022: CN-Hong Kong, AP-Bangkok, AP-Singapore, AF-Johannesburg, LA-Mexico City1, LA-Mexico City2, LA-Sao Paulo1, AP-Jakarta, and LA-Santiago
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot