custom domain SSL in app engine -
my application has following urls:
- client-1.myapp.appspot.com
- client-2.myapp.appspot.com
i want use custom subdomains:
- client-1.myapp.com
- client-2.myapp.com
to this:
- i added txt record myapp.com , verified domain.
- then added cname record *.myapp.com ghs.googlehosted.com.
this works great, when client-3 comes along dont need set (except in code). however, client want use own domain instead of mine.
for example:
- sub.client-1-website.com
- client-2-website.org
if app in normal lamp stack cname record sub.client-1-website.com client-1.myapp.com (or client-2-website.org client-2.myapp.com). app have vhost points correct location.
in app engine if that's did lead 404 page. must go add dashboard, verify domain mine, add 1 of custom domains, can cname sub.client-1-website.com client-1.myapp.com (or ghs.googlehosted.com.).
this means clients must add , keep google-verification txt record in dns.
is possible have app engine route request based on domain cnamed to? sub.client-1-website.com -cname-> client-1.myapp.com -cname-> client-1.myapp.appspot.com app engine route based on client-1.myapp.appspot.com have feeling answer no. due limitation of how cnames work (not limitation in app engine). correct?
at end of day isn't deal breaker. 1 step me , client. however, things super hairy when add ssl mix.
i know how set ssl *.myapp.com though google apps. annoying have go through google apps, not deal breaking because need that.
however, if client wants use own domain (sub.client-1-website.com , client-2-website.org) need go though google apps have ssl work wouldn't they?
is there way clients able add ssl?
as of september 2015, appengine ssl no longer based on google apps. through appengine console, can add client-1-website.com custom domain, verify ownership of it, , add ssl certificate domain.
i think you'll find original domain name in request headers haven't checked.
Comments
Post a Comment