Google Search Console ownership verification for App Platform domains

I have an App deployed and I have setup CNAME records for the “bare” and www domains ( and via Namecheap DNS. This works well after adding those domains to the app.

However, to verify ownership of the domain in the Google Search Console, I must add a TXT record on these same domains. This is not possible with an existing CNAME record.

I attempted to replace the CNAME record on the bare domain with both ALIAS and URL redirect records, however visiting the page returns a “404 Not Found” page with “Code: NoSuchWebsiteConfiguration”.

How are people setting up Google Search Console verification while also configuring CNAME DNS resolution for their Apps?

Show comments

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

The 404 errors we’re indeed caused by DO issues with static sites and haven been fixed.

Using an ALIAS record for the bare domain does work correctly after this fix.

Kamal Nasser
DigitalOcean Employee
DigitalOcean Employee badge
April 7, 2021

Hi @arosiclair, the 404 Not Found error is unrelated, it was caused by an incident that has since been resolved: Intermittent 404 Errors with App Platform Static Sites.

The CNAME record that Google Search Console requires for ownership verification should not be identical to your actual site. But if that is not working, you can also use the HTML file or HTML tag methods.

Details on the different verification methods.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Site Moderator
Site Moderator badge
April 7, 2021

Hello, @arosiclair

If Namecheap DNS panel does not allow adding TXT records for domains that already have existing CNAME records you will need to find a workaround. I will recommend you to reach to their support team and ask if there is a solution.

An alternative is using our nameservers and control the DNS from your DigitalOcean account.

Hope that this helps! Regards, Alex