1

I've been trying to register a hobby app project at Google Developer Console. While registering the OAuth consent screen, I'm told that I must supply a domain verified with Google:

google oauth screen

Now, since this is a hobby project, I don't want to register a new custom domain but use my github pages subdomain which is prahladyeri.github.io instead. However, I see no way to verify this subdomain at Google search console as it asks for updation of a TXT/CNAME record for verification. I'd like to ask experts, is there any way to verify a username.github.io subdomain with Google?

1 Answer 1

2

You can use HTML tag to verify your site provided you can add some meta contents to your site. They would give you some html like <meta ....>

Click on try a URL prefix property. Then click on the URL prefix tab. Here, you have to enter your URL with https and press Continue. You will be given the options to add meta tags for your site verification.

2
  • 1
    Thanks, the URL prefix method worked for me! Aug 1, 2020 at 13:35
  • I am glad it worked 🙂 Aug 1, 2020 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.