Hey Alexander, This sounds like the functionality I want. Perhaps I need to experiment with a wild card certificate and avoid using the sub domains.
Thanks, Alex On Tuesday, July 14, 2020 at 4:04:38 PM UTC+1 [email protected] wrote: > Alex, > > We are doing just what you describe, although we do it under the naked > domain. > > we have app.io pointing to appengine, which has a wildcard certificate > mapped. > My appengine settings for custom domain are like this: > > custom domain name | cert | record type | data | alias > *.app.io | wildcard-certificate | cname | ghs.googlehosted.com. | * > app.io | wildcard-certificate | A | xx.xx.xx.xx | (none) > > > all requests for app.io go to the default version. We also have a > release candidate version deployed, named 'rc' > Without any configuring all request for rc.app.io go automagically to the > rc version. > > This only works when you have the wildcard certifcate in place. Just > adding custom domain mappings for each version will not work. > > > > Alexander > > On Friday, 10 July 2020 20:20:15 UTC+2, Alex Fox wrote: >> >> I'm trying to setup GAE with a custom sub domain and a specific version >> url. >> >> For example I have an app running with the following setup >> *VERSION_ID: 1234* >> *SERVICE_ID: my-app* >> *PROJECT_ID: my-project* >> >> The provided url *https://1234-dot-my-app-dot-my-project.ew.r.appspot.com >> <https://1234-dot-my-app-dot-my-project.ew.r.appspot.com>* works fine. >> But I can't get to work with my custom domain + sub domain. Googles >> documentation states the following urls are the same: >> >> *https://VERSION_ID-dot-default-dot-PROJECT_ID.REGION_ID.r.appspot.com >> <https://VERSION_ID-dot-default-dot-PROJECT_ID.REGION_ID.r.appspot.com>* >> *https://VERSION_ID.CUSTOM_DOMAIN <https://VERSION_ID.CUSTOM_DOMAIN>* >> >> But when visiting *1234.api.mycustomdomain.com >> <http://1234.api.mycustomdomain.com>* it does not work. However >> *api.mycustomdomain.com >> <http://api.mycustomdomain.com>* works, pointing to the latest running >> version of *my-app* >> >> What am I missing? >> Thanks. >> >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9f7011b7-f5bf-45e6-b98f-13e246d9561fn%40googlegroups.com.
