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 google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f572053e-e3f9-4466-b7c3-5c57c737ade2o%40googlegroups.com.