I just turned on Google Cloud Storage and was going to create a bucket to test a static website with our domain. When I tried to create the bucket with our www.ourdomain.com I received the following message:
The bucket you tried to create is a domain name owned by another user.
From the documentation that I read, it appears that any bucket that has a dot or is a domain needs to be verified by the domain owner (me), which I know I have not done with Google Storage. I've owned the domain for a couple years and I am the only one with access to GS.
Are we out of luck using our own domain name on Google Storage?
Thanks
Sign in to the AWS Management Console and open the Amplify console . Choose your app that you want to connect to a custom domain. In the navigation pane, choose App Settings, Domain management. On the Domain management page, choose Add domain.
The URL format of a bucket is either of two options: http://s3.amazonaws.com/[bucket_name]/ http://[bucket_name].s3.amazonaws.com/ So, if someone wants to test the openness of a bucket, all they have to do is hit the bucket's URL from a web browser.
You can use Google Webmaster Central or Google Search Console to get your domain ownership verified.
Or your friend/colleague can use these sites to add you as an owner of the domain if they have already verified themselves as owners first.
When we want to use Google ServiceAccounts to create/manage GCS buckets, we have to add the ServiceAccount email as an owner of that domain first.
However, adding the ServiceAccount email via Google Search Console only adds it as a "Delegated User" of the domain and not as an "Owner" of the domain - don't know why.
Until now, a ServiceAccount can be added as an "Owner" only via Google Webmaster Central.
Following https://cloud.google.com/storage/docs/domain-name-verification :
To verify as the owner or manager of a domain, use the Google Webmaster Tools verification process. The Webmaster Tools verification process provides three methods for verifying an owner or manager of a domain:
Adding a special Meta tag to a site's homepage. Uploading a special HTML file to a site. Adding a DNS TXT record to a domain's DNS configuration.
Verify the domain with any of the ways you can do to verify your ownership. Then wait for 24hrs and then try your bucketname. If you dont get it done then raise a ticket and you will get the bucket name very soon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With