Google App Engine custom domains, subdomains and S

2019-05-24 04:53发布

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条回答
闹够了就滚
2楼-- · 2019-05-24 05:30
  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.
查看更多
登录 后发表回答