Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can a custom domain be pointed a specific google app engine version domain?

an App Engine app can be deployed with a specific version ID http://code.google.com/appengine/docs/python/config/appconfig.html

such that if the original app has this default domain: myapp.appspot.com

and you can point your own custom domain to this using Google Apps www.myapp.com --> (CNAME) myapp.appspot.com

BUT you can also upload a version identifier with your app and access it like this: newversion.myapp.appspot.com

What I am wondering is if it is possible to hook up a custom domain to this non-default version of the app? v2.myapp.com --> newversion.myapp.appspot.com ??

I dont think this is supported... but was hoping someone could verify (because I can't find any hard documentation saying "no you cant do this")


EDIT: if you're stumbling upon this... you can use the dispatch.yaml file to point to specific SERVICE but not VERSION... so there is still no "built-in" solution for this as of the end of 2017

like image 997
Nick Franceschina Avatar asked Feb 14 '12 19:02

Nick Franceschina


2 Answers

This has just become available: GAE version 1.6.3 will include feature to map custom domain to a specific version of an app.

https://groups.google.com/forum/m/#!topic/google-appengine/detHVsR2Y5I/discussion

like image 106
Peter Knego Avatar answered Oct 22 '22 12:10

Peter Knego


Perhaps not the final official word, but there is an accepted bug report on Google App Engine (GAE) which seems to be related to your question. If I understood your question (and the bug report) correctly, the answer would be that it's not currently possible to point a sub-domain to a specific custom version of your app on GAE.

See the bug report here:

http://code.google.com/p/googleappengine/issues/detail?id=2878

The bug is in the context of Facebook Connect and testing, but comments seem to indicate a wider issue with the inability for GAE to have a custom domain point to a specified version of one's app.

See also the Google Groups thread (linked from the bug report) here:

http://groups.google.com/group/google-appengine/browse_thread/thread/3e85fc4ae426a46f

like image 33
Zeb DeOs Avatar answered Oct 22 '22 13:10

Zeb DeOs