App Engine - Custom Domain pointing to subdomain

白昼怎懂夜的黑 提交于 2019-12-06 08:47:55

Yes you just have to use an asterix *.example.com when setting up your custom domain in google apps.

To serve your app on all subdomains within a given higher-level subdomain, you can use wildcard subdomain mapping: enter an asterisk in place of the lowest-level name. For example, entering * will cause your app to be served on all subdomains within your registered domain.

See Custom domains

*.yourappid.appspot.com domains work by default.

You can add your app to as many different Google Apps accounts (so can use multiple domains), but you can not use domain alias' within Google Apps, as only the primary domain from a google apps account is used.

Applications that use Google App Engine are not available for users at non-primary domains.

See Limitations for multiple domains

If the question is: Can the "naked" domain such as newexample.com (i.e. without anything such as www. before it) be served by Google App Engine?

Then the answer is no - see the FAQ

Wildcard subdomains let you have any subdomain the a user enters (e.g. myphotos.example.com, yourphotos.example.com, etc...) be served by Google App Engine without having to set each one up individually. Although it does require a DNS provider that supports wildcards.

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