Google Webmaster Tools

Google Webmaster Tools

by John Vincent

Posted on August 9, 2018

This is part of a series of discussions regarding Deploying to a Digital Ocean Droplet. For more details, please see Overview of website

Google Webmaster Tools

Google Webmaster Tools


Domain is

Please note this is a choice. I chose to use www. as this is mostly what people expect to see. Personally I would prefer to use

but that may be confusing to people who are used to .com domains.

I configured Nginx to redirect

Add a Site

Website is

Open Google Webmaster Tools

Repeat steps below also for

  • Add a Property
  • Website,
    • Add

Verify your ownership of the domain.

There are many different options.

HTML file upload

Select HTML file upload

Tool has 4 steps

  1. Download the verification file [google9104b904281bf3a3.html]
  2. Upload file to
  3. Confirm successful upload
  4. Verify

HTML tag

  • Copy meta tag to site's home page

Added to index.html

<meta name="google-site-verification" content="<your own tag>" />
  • Verify

Domain Name provider (optional)

  • Domain Name provider
    • Google Domains
  1. Add the TXT record below to the DNS configuration for

To do this with Google Domains, add the following record

Name: @
Type: TXT
TTL: 1h


Building a robots.txt using Gatsby

From Google Webmaster Tools


Building a sitemap using Gatsby

From Google Webmaster Tools