I've successfully created a static website hosted on Google Cloud Storage.
The bucket name is like: www.example.com
and my CNAME record for www points to c.storage.googleapis.com
I've verified both the www and root domain with Google Webmaster Tools.
On Google Webmaster Tools I have the www set as the primary domain (I have no idea if that's relevant, but saw a reference to it on another post here) and it's important that I serve the site from the www subdomain and not the root.
I can reach www.example.com fine,but no matter what I try with my root domain I only get the <NoSuchBucket>
error.
Point of information: My DNS is managed by Cloudflare. When I use Github pages to host static sites I typically point the root to the www with a CNAME record (and no A record at all because Cloudflare allows CNAME flattening), but that does not work here.
I've tried pointing my root domain to the www with a CNAME record and tried pointing it to c.storage.googleapis.com.
The Cloud Storage website configuration documentation for Step 2 says: "For example, for example.com, the CNAME record contains the following information: www CNAME c.storage.googleapis.com
" but makes no mention of pointing the root domain, yet this must be a common requirement.
I realize I could create an additional bucket with the root domain and point it to the www in http, but it seems as though there should be a way to do this with DNS records.