How to Verify Domain Ownership via DNS record in Google Search Console

This article is part of the Complete Guide on Google Search Console (GSC)

Google Search Console allows validating your site at a domain level in a way that includes all versions of your site (https/http/www./m.).

Google Search Console requires to validate the ownership via DNS record.

In this post, you will learn how to verify your domain ownership by copying your TXT record in the DNS configuration via CPanel.

Subscribe to my Newsletter

For alternative solutions to validate your site in GSC, read How to validate your site in Google Search Console.

How to Validate Your Domain Property in Google Search Console with DNS

  1. Add search property in Google Search Console
  2. Add your domain URL in the “Domain” property type
  3. Copy the TXT record in your DNS settings in CPanel
  4. Verify the property in GSC

More details on how to verify Domain Ownership via TXT Record in Google Search Console are described below.

Verify domain vs url prefix in Google search console

How to Verify Domain Ownership via DNS Record Google Search Console

To verify domain ownership via DNS record, you can follow these steps. First, copy the verification code from the setup tool. Then, sign in to your domain registrar and paste the verification code into the DNS records for your domain. Once your domain registrar publishes your verification code, it confirms that you are the owner of your domain. This process helps to ensure the security and integrity of your domain, and is often required when setting up various online services or applications.

  1. Go to the Google Search Console verification page.

  2. Click on “search property”

    This image has an empty alt attribute; its file name is hLt6E7bb4C9FrtT2rNRQfqUvG-LeLFQh4TNKFrWNoKfz4xV-ajovaRnIyIu6HI-8zlao1lyL5beGpad2cSrYLPYSs2TACLX_GLgFy2o-slG2_Mxm9boZCoCvaMkwqcCM-XxXcTd_

  3. Click on “Add property”

  4. Add your domain name to the Domain property type

  5. Copy the TXT record that starts with google-site-verification=

  6. Go to your hosting site and Login your CPanel.

    If you don’t know who is hosting your site, use hosting checker, you’ll have an idea who might be hosting your site. Chances are that you are using one of the most popular ones.

  7. Go to Domains > Zone Editor

  8. Click on “Manage” to manage the zone records for the site to validate.

  9. Click on Add Record

  10. Fill the required fields for the records

    TTL: 14400
    Type: TXT
    Record: your Google text record google-site-verification=

  11. Click on “Save record” and allow a few minutes for the DNS verification to be available.

  12. Go Back to Google Search Console and click on “Verify”

This is it, you now know how to validate your domain in Google Search Console using DNS text records.

5/5 - (2 votes)