Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Run: How to remove verified custom domain

I created a sub domain with TXT record and able to verify the domain on Google Search Console. This domain showed up on verified domain list in Cloud Run custom mapping. I wanted to use the cname mapping. So, I removed the verified domain from the search console and removed the TXT record from the DNS. I was not able to ping the sub domain.

But the verified domain list still showed up when I tried to create a custom domain mapping in Cloud Run. How do I remove this mapping?

 

Mali_0-1738892611034.png

The dev-app.xxxx.com is the sub domain..

 

0 3 279
3 REPLIES 3

Hi @-Mali,

Just a heads up, Custom domain mapping for Cloud Run is currently on the Preview launch stage. This means that these functionalities may not be necessarily feature-completed just yet, and are intended for test environments only.

If you decide to continue using Custom domain mapping on Cloud Run, make sure to consider its known limitations for your use case. For your question about how to remove a custom domain mapping, follow the steps on Delete a Cloud Run domain mapping.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Rhett,

CloudRun assigned a static IP with a 'A' record to update the DNS for the sub domain. This is not my choice. I would rather use CNAME record with google.hosted. I have two other services with CNAME with a sub domain. The issue seems to stem from the way Cloud Run is integrated with google search console. Once a sub domain is verified for a wrong reason with a 'PTR' record, there's no way to remove it from Cloud Run even though the sub domain is removed from google search console.

Since there are other dependencies with the sub domain name, I can't choose a new name and select a CNAME verification method. 

Another issues is that once you have sub domain verified with a 'PTR' under google search console, even after removing the sub domain from it, search console maintains a verification under the main domain. There's no way to remove that implicit verification.

 

 

Hi Mali,

Have you found the way to delete the verified domain and use CNAME? I accidentally apply A record and want to change it. Struggle to find the button to remove the verified domain