VirtualHostDomainRequired
Virtual host domain is required while accessing a specific bucket.
Error description
A virtual host domain name is required for accessing a specific bucket.
Error cause
A path-style request is used to access a specific bucket. However, the current configuration requires that a virtual host domain name be used for access.
Handling suggestion
- Path-style access: The bucket name is not included in the domain name but in the URL parameter, for example, https://obs.regionID.myhuaweicloud.com/${bucketname}/query.
- Virtual host-style access: The bucket name is included in the domain name, for example, https://${bucketname}.obs.regionID.myhuaweicloud.com/query.
Change to virtual host-style access, for example, change http://obs.cn-north-4.myhuaweicloud.com/bucketname/object to http://bucketname.obs.cn-north-4.myhuaweicloud.com/object by referring to Constructing a Request.
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