Google App Engine custom domains, subdomains and SSL

被刻印的时光 ゝ 提交于 2019-12-10 10:56:40

问题


I'm looking to give my GAE app a custom domain. Would I still be able to use wildcard subdomains in the same way I am now with the myapp.appspot.com domain?

For example, if I navigate to wildCardSub.myapp.appspot.com I am able to grab the wildcard subdomain and SSL all works fine without any problems.

If I were to change to a custom domain and navigate to wildCardSub.myNewDomain.com, would everything work the same? What about SSL? Would I have to set anything other than the custom domain up?

I was looking to set up a similar structure to appspot.com, where each user is just given a subdomain of the main domain. For example userName.myDomain.com.

Any insight is appreciated! Thanks!


回答1:


  1. Yes you will be able to use subdomains with wildcard mapping. Note that subdomain name has to match version name.
  2. You will need to have proper SSL certs, for specific subdomains. Double subdomain certs, e.g. *.*.domain.com, are not supported by browsers anymore. Single wildcard certs are ok.
  3. AFAIK, you can not "move" subdomain to top level, e.g. wildCardSub.myNewDomain.com. You have to use wildCardSub.modulename.myNewDomain.com. You can do custom mapping, but not a wildcard mapping.


来源:https://stackoverflow.com/questions/23707931/google-app-engine-custom-domains-subdomains-and-ssl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!