Hello,
I have created the object storage container and setup required CNAME DNS entry for www. subdomain (hosted in OVH as well).
However, when I enter the url (www.example.org), I get the response mentioned in the title: "Bad domain in host header".
Storage container doesn't contain any forbidden characters - it's just "staticsite".
The container is hosted in WAW1 datacenter.
From the source code of openstacks' swift (https://github.com/openstack/swift/blob/master/swift/common/middleware/domain_remap.py) I can see that it may be caused either by incorrect container name or misconfiguration on servers side.
Are there any workarounds or ways to resolve such issue? I have already opened a ticket. Just hoping for any other response.
Thanks.
Edit: Alright, I've just tried DE1 datacenter and it works correctly now. Seems to be misconfigured on OVHs side.
Static hosting: Bad domain in host header
Related questions
- ovh object storage SQS, detect write operations
728
20.12.2022 10:35
- About the Object Storage category
207
22.05.2017 08:50