10
votes

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

3

3 Answers

9
votes

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.

9
votes

You can use Google Webmaster Central or Google Search Console to get your domain name ownership verified.

Or your friend/colleague can use these sites to add you as an owner of the domain if they have already verified their own ownership first.


There is one issue with ServiceAccounts though.

When we use Google IAM ServiceAccounts to create/manage GCS buckets, we have to add the ServiceAccount email as an owner of the 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. That can only be done via Google Webmaster Central apparently.

So that worked perfectly for me.

1
votes

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.