Reputation: 11
https://note_dummy.storage.googleapis.com/cdn.json and it works for public access
In cloudflare:
however when I use https://cdn.myurl.com/cdn.json, it responds an error:
<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
</Error>
I have no idea what could be wrong?
Upvotes: -1
Views: 35
Reputation: 176
As mentioned in the suggestions in this SO post, try matching the name of your bucket to the name of your domain or configure the settings in CloudFlare console.
Aside from that, you can also take a look and follow the instructions mentioned in this documentation about hosting a static website. As part of the setup, you have to set up an HTTPS load balancer and SSL certificate since Cloud Storage doesn’t support custom domains with HTTPS on its own.
Upvotes: 1