Search code examples
google-app-enginegoogle-apps

How do I serve an app engine version via subdomain when my app runs through Google Apps?


I'm trying to use a subdomain to serve a matching version id with Google App Engine and Google Apps. I've gone through the documentation but it's still unclear to me.

  1. On this page regarding custom domains, it says I'm in a special case for using Google Apps. test.example.com -> to load "test" version of the application.

https://cloud.google.com/appengine/docs/domain -

Note that the instructions on this page are for App Engine apps that use an ordinary HTTP connection and are not served through Google Apps. Here are some related procedures that require different instructions:

This leads me to here https://support.google.com/a/answer/91080

It looks like the only way to add this subdomain in Google Apps is the Sites URL field.

Will the Sites URL correspond to the App Engine version ID?enter image description here


Solution

  • You only need to use Google Apps to map an appengine app to a domain if you need https. Right now, Google Apps is the only way you can upload an SSL cert - hence this restriction.

    If you do map your appengine app to a domain through google apps, you can do what you want by using wildcard subdomain mapping. Read more here..

    The whole process is tedious, slow, and painful, and thats only when its not confusing, so put aside a good few hours to make all the changes and wait for DNS to propagate.