How to Verify Your Website With Google Search Console DerrellUpdated on June 25, 2026 4 Minute Read Google website verification proves to Google Search Console that you own a specific site, unlocking Search performance data and the ability to manage your site’s presence in search results. There are two paths: upload an HTML file to your server (URL Prefix method) or add a Domain Name System (DNS) TXT record to your zone (Domain method). This guide walks you through using cPanel. Method 1: Google Website Verification With an HTML File The URL Prefix method verifies a specific URL (for example, https://domain.com). Google confirms ownership when it can fetch a small HTML file you place at the site’s root. Complete this in two parts: download the file from Google, then upload it through cPanel File Manager. Get the verification file from Google Go to Google Search Console in your browser. Under URL prefix, enter the full URL of your website (for example, https://domain.com) and click Continue. On the verification screen, click the button next to Download the file to save the HTML verification file to your computer. If your browser prompts you to save or open the file, choose Save. Upload the file through cPanel File Manager Log in to cPanel. In the Files section, click File Manager. Navigate to your site’s document root. For most sites, this is public_html. If you are working with an addon domain, the document root may be a subdirectory such as public_html/<your-domain>. Click the Upload button in the File Manager toolbar. Click Select File, then locate and select the HTML file you downloaded from Google Search Console. Once the upload completes, return to the Google Search Console tab and click Verify. Google fetches the file from your server and confirms ownership. Tip: Keep the HTML file in your document root after verification. If Google cannot find it during a later re-check, it may revoke verified status. Method 2: Domain Verification With a DNS TXT Record The Domain method verifies all URLs under a domain, including both http:// and https:// versions and all subdomains. Instead of a file, Google asks you to add a TXT record to your domain’s DNS zone. This method requires access to your domain’s Zone Editor in cPanel. Note: DNS changes can take up to 48 hours to propagate fully. Google verification may not succeed immediately after you save the record. If the first attempt fails, wait a few minutes and try again. Copy the TXT record from Google Go to Google Search Console in your browser. Under Domain, enter your domain name (for example, domain.com) and click Continue. On the DNS verification screen, click the Copy button under step 3 to copy the TXT record value to your clipboard. Add the TXT record in cPanel Zone Editor Log in to cPanel. In the Domains section, click Zone Editor. Click the Manage button next to the domain you want to verify. Click the down arrow next to + Add Record, then click Add “TXT” Record. Fill in the record fields as follows, then click Save Record. Return to the Google Search Console tab and click Verify. If propagation is not complete yet, Google will prompt you to try again in a few minutes. FieldValueNameYour domain name (for example, domain.com)TTLLeave at 900TypeLeave as TXTRecordPaste the value you copied from Google Troubleshooting Google says verification failed after uploading the HTML file Make sure the file is in the correct document root for the domain you are verifying. If the domain uses an addon domain or subdomain, the document root may not be public_html. You can confirm the correct path in cPanel under Domains. Also check that the filename was not renamed during upload. The filename must match exactly what Google expects. See How to Use Site Verification in Jetpack if you are working with a WordPress site and prefer a plugin-based approach. Google says the DNS record cannot be found DNS changes take time to propagate across the Internet. After saving the TXT record in Zone Editor, wait at least 15 minutes before clicking Verify in Google Search Console. In some cases, propagation can take up to 48 hours. You can use a public DNS checker to confirm the record is live before retrying. Verification succeeded but access was later revoked Google periodically re-checks that verification tokens are still present. If the HTML file is deleted or the TXT record is removed from your DNS zone, Google will revoke ownership. Restore the file or record, and Google will re-verify your site on its next crawl cycle. Conclusion Your site is now verified in Google Search Console. The URL Prefix method covers a single URL, while the Domain method covers every protocol and subdomain under your domain. Once verified, you can monitor search traffic, request indexing of new pages, and review any issues Google detects. For additional Google tools you can add to your site, see Overview of Google Tools for Your Website or Installing Google Analytics on Your Website. Share this Article Derrell Willis Manager, Developer Relations More Articles by Derrell Related Articles How to Verify Your Website With Google Search Console How to Edit CSS Using Google Chrome Developer Tools How to Change Nameservers in Google Domains How to Use Google Apps to Host Your Mail How to use Google Web Fonts for your builder Setting up Google Workspace MX Records in cPanel Google Launches Site Kit Plugin for WordPress How to Set up Google My Business Setting a Crawl Delay in Google Webmaster Tools Generating Google API keys