How to Submit Your Website to Google for Indexing

Note: Indexing is not instant. It may take a few days for Google to crawl and index your website, even after completing all the steps.

Evans

Last Update pre 2 meseca

Step 1: Set Up Google Search Console (GSC)
  1. Go to: https://search.google.com/search-console

  2. Click “Start now” and sign in with your Google Account.

  3. Choose “Domain” as the property type (recommended).

  4. Enter your domain name without https:// or www (e.g. example.com) and click Continue.

Step 2: Verify Domain Ownership (DNS-Based - Recommended)
Recommended: Use TXT Record for Domain Verification
  1. Copy the TXT record provided by Google Search Console.

  2. Log in to your DNS manager (can be through cPanel, DirectAdmin, or your domain registrar).

    • For cPanel:

      • Go to Zone Editor > Click Manage for your domain.

      • Click Add Record > Select TXT, then paste the value from Google.

    • For DirectAdmin:

      • Go to DNS Management > Add a new TXT record with the name as your domain and the value from Google.

  3. Save the changes.

  4. Return to Google Search Console and click Verify.


 It may take up to 15 minutes for DNS changes to reflect. If it fails at first, wait and retry

Step 3: Check Your robots.txt File

Ensure your site is not blocking Google’s crawler:


  1. Open File Manager via cPanel or DirectAdmin.

  2. Navigate to the public_html directory.

  3. Look for a file named robots.txt.

Your file should NOT contain this:

If it does, replace it with:

If the file doesn’t exist, you can create one and paste the above content.

Step 4: Create and Submit a Sitemap
Option A: If You’re Using WordPress

Use a plugin like Yoast SEO or All in One SEO:

  • Install via your WP Dashboard: Plugins > Add New

  • After activation, it will generate a sitemap automatically.

Example URL: https://yourdomain.com/sitemap_index.xml or .../sitemap.xml
Option B: If You’re Not Using WordPress

You can use https://www.xml-sitemaps.com to generate one and upload it to your public_html folder.

Submit Your Sitemap to Google:
  1. Go to Google Search Console > Select your domain property.

  2. Click Sitemaps on the left menu.

  3. Enter the full sitemap URL, e.g. sitemap.xml or sitemap_index.xml.

  4. Click Submit.

Step 5: Request Indexing via URL Inspection Tool

To manually trigger indexing:


  1. In Google Search Console, click URL Inspection.

  2. Enter the URL of your homepage (e.g., https://example.com) and press Enter.

  3. After analysis, click Request Indexing.

Repeat for important pages like contact, about, or services pages.

Additional Tips
  • Ensure all pages use SEO-friendly URLs.

  • Use internal links (link between your pages) to help Google discover more content.

  • Add your site to Google Business Profile (if relevant) to improve visibility.

In summary

1️⃣Add your domain to Google Search Console
2️⃣Verify ownership via DNS (TXT or CNAME)
3️⃣Check or create a correct robots.txt
4️⃣Generate and submit your sitemap
5️⃣Use URL Inspection to request indexing

Was this article helpful?

3 out of 3 liked this article

Still need help? Message Us