Do I need to check my domain before creating a bucket in Google Cloud Storage?

A month ago, I set up a static website using Google Cloud Storage. Before I could create a public bucket, I was asked to verify that I really owned the domain after which I named the bucket. I needed to upload a file from Google to an existing host so that Google confirmed the ownership of the domain.

I understand that you need to do this. However, if I just bought a domain and didn’t have another host, I don’t understand how I could prove that I own a domain.

Did I skip a path around this restriction? Is there any other, more convenient way to create public sites in Google cloud storage?

+4
source share
2 answers

There are three ways to verify domain ownership:

  • Adding a special meta tag to the home page of the site.
  • Upload a special HTML file to the site.
  • Add a TXT DNS record to the domain DNS configuration.

The first two require the domain to be located somewhere, but the third method is a purely DNS configuration, so it can be done without hosting the domain. Read more about these methods here .

+6
source

Add CName with the information Google gives you. This will solve your domain ownership verification problem.

0
source

All Articles