Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't create a bucket with my domain name

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

like image 674
Larry Avatar asked Sep 27 '13 21:09

Larry


People also ask

How do I use my domain name on AWS?

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.

What are valid urls for accessing the bucket?

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.


3 Answers

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.


There is one caveat with ServiceAccounts though.

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.

like image 131
Rakib Avatar answered Nov 15 '22 05:11

Rakib


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.

like image 43
Mc Bton Avatar answered Nov 15 '22 06:11

Mc Bton


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.

like image 26
Nivash Dhina Avatar answered Nov 15 '22 05:11

Nivash Dhina