Appear on Google: How to Register Your Next.js Website in the Search Console

Danny Hines

Danny Hines • 3 min read

Posted Dec 13, 2022

To make sure that Google correctly indexes your website, you’ll need to verify it in the Google Search Console. Then you can see which pages are indexed by Google, and track the performance of your website in Google search results.

This guide assumes you have a website that’s deployed to Vercel, which is my new favorite service for deploying websites due to its UX and integration with Vercel’s framework NextJS.

  1. First, go to the Google Search Console and log in with your Google account. The account you use doesn’t matter, but you’ll need to use that account in the future to view your site’s search metrics.
  2. Once you're logged in, click on the "Add Property" button and enter the URL of your website that's deployed on Vercel. Click “CONTINUE”.
Select property in Google search console
  1. Google will give you options to verify the domain. The easiest (and recommended) method is to use the TXT record which is selected by default. Click COPY next to the record configuration.
TXT record displayed in the Google search console
  1. Next, log in to your Vercel account and go to the settings for your website. In the "Domains" tab, go to the DNS Records section. Leave the “Name” field blank. Under “Type” choose TXT, and in the “Value” textbox paste the TXT record you copied from the GSC and click “Add”.
Add DNS record in Vercel
  1. Finally, go back to the Google Search Console and click on the "Verify" button. Google will then check your website for the verification code, and if it's found, your domain will be verified. This should be pretty immediate, but Google has a disclaimer that it can sometimes take hours to complete.
Verified domain in Google Search console

Now all that's left to do is wait.

Once your domain is verified, you can use the Google Search Console to track which pages have been crawled/indexed and how they perform in search results. Here's the statistics for people searching for "vercel google search console", which puts this blog as the ~6th result on average.

Google Search Console results for this web page
Metrics for this page on Google for the search "vercel google search console"

Enter your domain (or any url for your website) to check if Google has crawled or indexed your site. Indexing a new website takes time, and it takes even longer to rank on the first page of search results. But once you're appearing in results, you can see how improving keywords and page quality will rank you higher.

That's it! Big ups to the teams at both Google and Vercel for making the verification process so seamless.

Big Ups from Mike Tyson

Subscribe to the newsletter

Get early access to articles on tech, finance and more.

Totally free, no ads, no spam.