Say you want to free up a domain that you've used on a different project on GCP or GAE.
When you try to use the domain, you get an error like:
error: [domain] is already mapped to a project
To solve this, use the command line (assuming you have the developer tools and so use gcloud regularly to deploy your apps) and do the following:
gcloud auth login
This will open a browser window for you to sign in with your Google account.
Set the project in the gcloud tool to the old project where the domain is currently mapped:
gcloud config set project PROJECT_ID
Replace PROJECT_ID with the actual Project ID of the old project.
List the domain mappings for the old project:
gcloud app domain-mappings list
Locate the domains you want to remove from the list, and then run the following command to delete the domain mapping:
gcloud app domain-mappings delete DOMAIN_NAME
... replacing DOMAIN_NAME with the actual domain you want to remove.
After a bit of waiting, you'll be able use the domain again in a custom mapping.
1 comment:
Practical Python Classes in Pune
Python Training in Pune
Python Course in Pune
Python Programming Classes in Pune
Best Python Training in Pune
Python Certification Training in Pune
Python Classes in Pune
Advanced Python Course in Pune
Python Institute in Pune
Python Training with Placement in Pune
Post a Comment