How to Generate & Install an IndexNow API Key: Complete Hosting Guide (Hostinger, cPanel, WordPress, Cloudflare & More)
Master the open-source IndexNow protocol. Learn how to generate a 32-character hexadecimal key, upload the verification text file across Hostinger hPanel, cPanel, WordPress, Cloudflare, SiteGround, Vercel, and Linux VPS, and broadcast instant crawler notifications to Bing, Yandex, Seznam, and Naver.
Table of Contents (14 sections) ▼
The Indexing Revolution: Why Waiting Weeks for Search Engine Spiders is Obsolete
For nearly three decades, organic search operated on a passive discovery paradigm: search engine crawlers wandered across the web, hopscotching from hyperlink to hyperlink, hoping to discover updated or newly published pages before their content lost commercial relevance.
In 2026, that architecture is fundamentally broken. Modern websites publish thousands of content updates, product refreshes, inventory alterations, and localized landing pages daily. Waiting days or weeks for search bots to consume scarce crawl budget leads to delayed revenue, lost SERP prominence, and stale information served to AI retrieval models.
IndexNow changes the search architecture from a pull-based crawling model to a real-time, push-based notification protocol. Co-developed by Microsoft Bing and Yandex, and natively supported by engines like Seznam.cz and Naver, IndexNow enables website owners to notify all participating search engines instantly whenever a URL is added, updated, or deleted.
---
1. How IndexNow Cryptographic Site Ownership Verification Works
Unlike Google Search Console ↗ or Bing Webmaster Tools ↗, which historically required DNS TXT records, OAuth delegations, or meta tags embedded in HTML headers, IndexNow relies on a lightweight, headless HTTP verification contract:
• The 32-Character Hexadecimal Key: You generate a random string of hexadecimal characters (e.g., `75a7c55c0c9d747d8b58a14ec84e3118`).
• The Root Key File: You place a plain UTF-8 text file named exactly `{your-key}.txt` in your domain's public root web folder (e.g., `public_html/`).
• The Public Verification Endpoint: The file must be publicly reachable at `https://yourdomain.com/{your-key}.txt` returning an HTTP 200 OK status code, with only the key string as its body.
• The Broadcast Transmission: When you submit a batch of URLs to `https://api.indexnow.org/indexnow`, the endpoint executes an immediate HTTP GET request against `https://yourdomain.com/{your-key}.txt`. If the server response matches the key submitted in the API payload, domain ownership is verified and the URLs are dispatched to the crawl queue.
• Cross-Engine Relay: Submitting to one IndexNow node (e.g. Bing or IndexNow API) automatically notifies all participating search engines simultaneously.
---
2. Generating Your API Key & Downloading the Key File
Generating an IndexNow key requires zero coding:
• Open the free [SearchOptiMark IndexNow Multi-Engine Workspace](/tools/indexnow-indexer/).
• In Step 1 (Target Website & Verification), enter your domain name (e.g., `yourdomain.com`).
• Click the "🎲 Generate" button. An enterprise-grade, cryptographically secure 32-character hexadecimal key will be generated instantly.
• Click "📥 Download .txt File". Your browser will immediately download `{key}.txt` with your unique key populated inside.
---
3. Step-by-Step Installation Guides Across Top Hosting Platforms
Where you place this file depends on your hosting architecture and CMS. Below are verified, step-by-step instructions for the most popular platforms:
A. Hostinger (hPanel)
Hostinger powers millions of high-performance websites worldwide. Uploading your key in hPanel takes under 60 seconds:
• Log in to your Hostinger dashboard at hpanel.hostinger.com.
• In the top navigation, click Websites, find your domain, and click Manage.
• In the left sidebar under Files, select File Manager (Files of your domain).
• Double-click the `public_html` folder. This is your public website root.
• In the top toolbar, click the Upload icon (upward arrow) and select File.
• Select your downloaded `{key}.txt` file.
• Confirm that `{key}.txt` appears directly in the `public_html` directory list (not inside a subfolder).
• Open your browser and test: `https://yourdomain.com/{key}.txt`.
B. cPanel (Standard Web Hosting)
If your site is hosted on Bluehost, A2 Hosting, InMotion, HostGator, or any standard cPanel server:
• Access your cPanel login (`https://yourdomain.com:2083`).
• Locate the Files section and click File Manager.
• In the directory tree on the left, navigate to `public_html` (or `www`).
• Click the Upload button in the top menu toolbar.
• Drag and drop your `{key}.txt` file into the upload zone.
• Verify file permissions: right-click `{key}.txt` and ensure permissions are set to `0644` (World Readable).
• Visit `https://yourdomain.com/{key}.txt` in your browser.
C. WordPress (3 Effortless Options)
WordPress users have multiple avenues depending on their technical comfort:
- Method 1: The Official Bing IndexNow Plugin (Zero FTP):
• In WP Admin, navigate to Plugins > Add New.
• Search for "IndexNow Plugin" (published by Microsoft Corporation).
• Click Install Now and Activate.
• The plugin automatically generates an API key and hosts it virtually via WordPress rewrite rules.
- Method 2: WP File Manager Plugin:
• Install the free WP File Manager plugin.
• Open WP File Manager from your WordPress admin sidebar.
• You will see your root WordPress directory containing `wp-config.php`, `wp-content`, and `index.php`.
• Click the upload button and upload your `{key}.txt` file directly into this root directory.
• Deactivate or delete the file manager plugin after upload for security hardening.
- Method 3: SFTP / FTP (FileZilla):
• Connect to your web host via SFTP on port 22.
• Navigate to your root directory (`/public_html/` or `/var/www/html/`).
• Drag `{key}.txt` from your local machine to the server root.
D. Cloudflare (Crawler Hints & Cloudflare Workers)
Cloudflare offers deep native integration with IndexNow:
- Crawler Hints (1-Click Automated Sync):
• Log into your Cloudflare dashboard and select your domain property.
• In the left navigation, click Caching > Configuration.
• Scroll down to Crawler Hints and toggle it to ON.
• Cloudflare will automatically broadcast content updates to IndexNow whenever cache purges or new asset signals occur.
- Cloudflare Worker (For Headless / Jamstack / Restricted Roots):
If your frontend has no direct filesystem access, you can deploy a lightweight Cloudflare Worker on route *yourdomain.com/{key}.txt:
export default {
async fetch(request) {
return new Response("75a7c55c0c9d747d8b58a14ec84e3118", {
headers: { "content-type": "text/plain;charset=utf-8" },
});
},
};
E. SiteGround (Site Tools)
• Log in to your SiteGround Client Area.
• Click Websites and click Site Tools next to the domain you want to configure.
• In the left menu, navigate to Site > File Manager.
• Open the `public_html` folder.
• Click File Upload in the top bar and select `{key}.txt`.
• Confirm the file is uploaded and reachable.
F. Vercel & Next.js (Modern React / Static Sites)
For Jamstack architectures deployed on Vercel:
• Open your local code repository in your editor.
• Locate the `/public` directory at the root of your project (e.g. `my-project/public/`).
• Move your downloaded `{key}.txt` file into the `/public/` folder (`my-project/public/{key}.txt`).
• Commit and push:
git add public/{key}.txt
git commit -m "feat(seo): add IndexNow site verification key"
git push origin main
• Vercel's Edge Network will deploy the static asset directly to `https://yourdomain.com/{key}.txt`.
G. Linux VPS (Ubuntu / Debian Nginx & Apache)
For custom cloud VPS instances (AWS EC2, DigitalOcean Droplet, Linode, Google Compute Engine):
• SSH into your production server:
ssh ubuntu@your-server-ip
• Write the key string to your public root folder:
echo "75a7c55c0c9d747d8b58a14ec84e3118" | sudo tee /var/www/html/75a7c55c0c9d747d8b58a14ec84e3118.txt
• Ensure proper permissions and ownership:
sudo chmod 644 /var/www/html/75a7c55c0c9d747d8b58a14ec84e3118.txt
sudo chown www-data:www-data /var/www/html/75a7c55c0c9d747d8b58a14ec84e3118.txt
• Test with cURL:
curl -i https://yourdomain.com/75a7c55c0c9d747d8b58a14ec84e3118.txt
Verify that HTTP/2 200 OK is returned with the exact key in the body.
---
4. Verifying Site Ownership with SearchOptiMark's Live Ping Engine
Before executing bulk submissions, always verify that your server is properly responding:
• Return to the [SearchOptiMark IndexNow Workspace](/tools/indexnow-indexer/).
• Click "Verify Key File on Server".
• Our backend will execute an automated HTTP GET against `https://yourdomain.com/{key}.txt`.
• If your file is reachable and the key matches, a green badge will appear: "Key Verified on Server ✓".
• If verification fails, the diagnostics console will display the exact HTTP status code received (e.g., 404 Not Found, 403 Forbidden, or Redirect Loop), helping you correct file placement in seconds.
---
5. Submitting Bulk URLs & Monitoring Indexation
With site ownership verified, you can now submit up to 10,000 URLs per day completely free:
• Ingest URLs: Paste raw URLs into the text area or drop a CSV, TXT, PDF, or Word document.
• Deep Anti-Hack Sanitization: Click "Sanitize & Review". SearchOptiMark's engine strips code, SQL strings, malicious parameters, and duplicate URLs automatically.
• Select Submission Type: Choose URL_UPDATED for newly published or refreshed pages, or URL_DELETED for removed content you want de-indexed.
• Initiate Transmission: Click "Initiate Bulk Indexing Transmission". Watch real-time telemetry stream HTTP 200 OK receipts with transaction IDs.
• Live Status Verification: Click "Verify Live Status Now" to run an automated check inspecting HTTP crawlability, detecting `noindex` directives, and tracking search engine response.
---
Summary Checklist: Your IndexNow Quick-Start Guide
Ready to accelerate your search engine visibility? [Open the SearchOptiMark IndexNow Workspace](/tools/indexnow-indexer/) to generate your key, verify your domain, and dispatch your first bulk batch today!
Verified Primary References & Authoritative Citations
Official engineering documentation, machine-readable specifications, and standard protocols referenced in this analysis.
Deepak Mathur
Deepak Mathur is an organic search architect, technologist, and the Founder of SearchOptiMark. With over a decade analyzing web crawler infrastructure, algorithmic retrieval pipelines, and Generative Engine Optimization (GEO), Deepak spearheads technical research and campaign architecture for high-growth enterprise clients across 5 continents.
Want These Optimization Systems Applied to Your Domain?
Request a free 40-point technical, GEO, and keyword competitive analysis from our senior team.