For small business owners, proving ownership of your website in Google Search Console is a crucial first step to monitoring your site's performance in Google Search. The DNS (Domain Name System) verification method is a robust way to do this, particularly useful if you want to verify your entire domain, including all subdomains and protocols (e.g., www, non-www, http, https).
This guide will walk you through the steps to verify your website using a DNS TXT record, ensuring you can unlock the full potential of Google Search Console for your online presence.
What You'll Need:
Before you begin, make sure you have the following:
- A Google account (the same one you'll use for Search Console)
- Access to your EncodeDotHost customer portal to manage your cPanel DNS settings
- Your domain name (e.g.,
example.com)
Step 1: Add Your Property to Google Search Console
Your first step is to tell Google Search Console about your website.
- Open your web browser and go to Google Search Console.
- Sign in with your Google account.
- On the welcome screen or from the property selector dropdown, click "Add Property".
- Under the "Domain" option, enter your root domain name (e.g.,
example.com). Do not includehttp://,https://, orwww.. - Click "Continue".
Step 2: Get the DNS TXT Record from Google Search Console
Google will now provide you with a unique TXT record that you need to add to your domain's DNS settings.
- On the verification screen, the "DNS record" method will be automatically selected for "Domain" properties.
- You will see a unique TXT record string. It will look something like:
google-site-verification=youruniqueverificationstring - Click the "Copy" button next to this TXT record to copy it to your clipboard.
- Keep this Google Search Console tab open, as you'll return to it after adding the record.
Step 3: Add the DNS TXT Record via Your EncodeDotHost Customer Portal (cPanel)
This is the most critical step, where you'll add the TXT record to your domain's DNS settings through your EncodeDotHost customer portal.
- Open a new browser tab and log in to your EncodeDotHost customer portal.
- From your customer portal, navigate to your cPanel account. This is usually done by clicking a "Login to cPanel" or similar button next to your hosting service.
- Once in cPanel, look for a section related to "Domains" or "DNS". You'll typically find an option like "Zone Editor", "Advanced DNS Zone Editor", or "DNS Functions".
- Look for an option to add a new record.
- Configure the new record with the following details:
- Type: Select
TXT(Text Record). - Name/Host/Record: For domain verification, this is usually
@or your bare domain (e.g.,example.com). Some cPanel setups might require you to leave it blank. - Text/Value/Content: Paste the unique TXT record string you copied from Google Search Console (e.g.,
google-site-verification=youruniqueverificationstring). - TTL (Time To Live): You can usually leave this at the default setting (e.g., 3600 seconds or 1 hour). A lower TTL can speed up propagation, but the default is fine.
- Type: Select
- Save the new DNS record.
- Wait for DNS propagation. DNS changes can take anywhere from a few minutes to 48 hours to update across the internet.
Step 4: Verify Your Property in Google Search Console
Once you believe the DNS record has propagated, return to Google Search Console to complete the verification.
- Go back to the Google Search Console tab where you left off (Step 2).
- Click the "Verify" button.
- If Google can find the TXT record, you'll see a "Ownership verified" message, and your property will be added to Search Console.
Troubleshooting Tips:
- "Verification failed" error:
- Double-check the TXT record: Ensure you've copied and pasted the exact string from Google Search Console without any extra spaces or characters.
- Check the Name/Host field: Confirm it's set correctly (
@or blank for the root domain). - Allow time for propagation: DNS changes can take time. Wait a few hours and try verifying again. You can use online DNS lookup tools (e.g.,
whatsmydns.net) to check if your TXT record has propagated. - Contact EncodeDotHost support: If you're unsure about your DNS settings within cPanel, our support team can assist you with adding the TXT record.
- Internet Connection: Ensure you have a stable internet connection when using Google Search Console.
- Still having trouble? Contact EncodeDotHost support with details of the issue and any error messages you're receiving, and they'll be happy to assist further.
Once your domain is verified, you'll gain access to comprehensive data and tools within Google Search Console to monitor and improve your website's performance in Google Search results.