i am having issue with mapping domain in google cloud platform so i have just verified my domain but then i am having this issue
but the thing is that i have not added my domain to my project yet as you can see below in picture
so i have not added "w3youtube.com" to mapping or created any dns records but still i am having www.w3youtube.com is already mapped to a project.
what should i do? in order to remove mappings or to resolve this issue?
Easy steps:
gcloud app domain-mappings create <domain>
<your_domain> is currently mapped to application '<project>'.
gcloud --project <project_name> app domain-mappings delete <your_domain>
As of 2018, the command line requests alone didn't work for me. What worked for me were these instructions from the Google Group here. In short,
Head over to the API Explorer.
Fill out the form in this format below:
Make sure you Enable OAuth and execute the request.
If successful, you'll see a response like this below:
Important note: You need to run this request TWICE - Once for your domain without www (example.com). And once with www (www.example.com). I missed this step and my app stop serving www.example.com.
To (re)-enable SSL support: Go back to your cloud console and then AppEngine domain settings and click the "Enable Managed Security" button as shown below:
If it still doesn't work, you can delete the domain from your console and re-add it through the command line using the command below:
Keep in mind, the above command will only work once you've run the request through the API explorer.
Hope this helps.
Cheers.
Try using gcloud command line tool instead of using web console. I was able to resolve through it.
gcloud beta app domain-mappings create <domain name>
Also, use of beta in the above command will add managed certificate for SSL automatically.