Maping GoDaddy domain with Google App Engine URL

957 views
Skip to first unread message

KIRAN GUDIPATI

unread,
Sep 5, 2018, 1:47:46 PM9/5/18
to Google App Engine
Hello

I bought a domain from GoDaddy and trying to map it to my GAE Application (*.appspot.com). I added a custom domain on the App Engine and on the domains DNS configuration page, updated all the IP's and CNAME (subdomain) mapping to my app engine url (*.appspot.com). 

As per the docs, Google says it provides the SSL certs for the domains. i see them updated for my domain and www subdmain. But, for the actual sub domain which i configured in Godaddy (CNAME record), i dont see any certificate updated. Also, when I hit the subdomain url in the browser, it throws 404 error.

I am not sure what is to be done and if the approach i took is correct. Is there any other configuration that needs to be done for this to work. Could anyone please help me in this regard

Thanks,
Kiran

Attila-Mihaly Balazs

unread,
Sep 6, 2018, 2:40:52 AM9/6/18
to Google App Engine
When you say "for the actual sub domain [...] i dont see any certificate updated" are you looking in the GoDaddy control panel or the Google Cloud Console? Because you should see the certificate in the Google Cloud Console. Something like: https://console.cloud.google.com/appengine/settings/domains and under the "SSL security" column you should see "Google-managed, auto-renewing"

Also, if you are able to access your website using HTTPS and you get a 404, that means that the certificate part is set up correctly, but there are problems retrieving the actual content.

Attila

KIRAN GUDIPATI

unread,
Sep 6, 2018, 11:42:44 AM9/6/18
to Google App Engine
I am looking at Google Console. For every domain mapping to the application on GAE, it looks like, the application needs to be deployed to the default service. There should not be any name associated to the service that is being deployed. How does it work if i have to map multiple GAE applications to be mapped to multiple sub domains. Does Google cloud console provide that option

I have not seen any option related to this. Any pointers would be helpful

Thanks,
Kiran

Ankit Mihari

unread,
Sep 6, 2018, 3:58:49 PM9/6/18
to Google App Engine

You can have a 1:1 mapping between the sub-domain and the app engine service. Use dispatch.yaml and service attribute in app.yaml to achieve this.

Attila-Mihaly Balazs

unread,
Sep 7, 2018, 6:45:12 AM9/7/18
to Google App Engine
As Ankit said: Google works at the subdomain level. So it is entirely possible to map different subdomains of the same domain to different services and even different projects (in fact that's the way one of my projects is configured in production). You just need to "verify" each of the subdomains and the assign it to the project you wish and route the requests to the service you need with "dispatch.xml".

Attila
Reply all
Reply to author
Forward
0 new messages