In this short guide you will learn how to use Sail to add a site verification DNS record for Google Search Console.
Sail ships with a special blueprint called site-verification.yaml
. This blueprint
accepts a domain and a TXT record value, which it creates on your DigitalOcean
account.
First, add a domain to your Sail project:
sail domain add example.org
Make sure the name server records for your domain point to:
Next, add your domain in the Google Search Console, and copy the TXT record value
which usually looks like google-site-verification=some-random-characters
. Then run the
site-verification.yaml
blueprint with Sail:
sail blueprint site-verification.yaml
The blueprint will prompt for the domain name, and the TXT record value, where you could paste the value from Google Search Console.
Note that DNS changes may take up to 48 hours to propagate globally. If the domain hasn't been verified with Google after 48 hours, please refer to our getting help section.