Hi,I create a bucket on Aliyun OSS, its public url is xxxx.oss-us-east-1.aliyuncs.com
, so I set a cname on cloudflare. But when I visit new site with custom domain via browser, instead of OSS bucket file content, I get an error message -> “The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint”. How to handle it, Cloudflare + Aliyun OSS?
thanks
Usually we can’t directly CNAME to bucket storage endpoint.
You may need to try this:
Basically what it does is, rewrite the host header to your Aliyun hostname.
1 Like
thanks a lot, it works!
and by the way, this can enjoy free flow fee? you know Aliyun also join Cloudflare’s Bandwidth Alliance.
1 Like
I’m not sure about this. See whether someone from Cloudflare can explain about it?
1 Like