App Engine - 自定义域指向子域 [英] App Engine - Custom Domain pointing to subdomain

查看:189
本文介绍了App Engine - 自定义域指向子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说现在我们可以在谷歌应用引擎上做通配符子域名(我还没有尝试过,但是我相信这是一个新功能),但是我们可以有一个域吗?

I hear that now we can do wildcard subdomains on google app engine (I haven't tried it myself, but I believe that's been a new feature added), but can we have a domain point to it?

所以

new.example.com (作品?)

newexample.com - > new.example.com (这个工作吗?newexample.com的作用是new.example.com)

newexample.com -> new.example.com (does this work? where newexample.com is acting as new.example.com)

我设想newexample.com的方式,这可以在URL中起作用。

The way I envision newexample.com, this would work as

newexample.com/blog ,但应用引擎将支持 new.example.com/blog

newexample.com/blog in the url, but app engine would support it as new.example.com/blog

我想我强调我不是在寻找域名fowarding,其中newexample.com只是转发用户到new.example.com

I guess I am trying to emphasize that I am NOT looking for domain fowarding where newexample.com just forwards users to new.example.com

谢谢!

更新:澄清,我没有意义是裸体域名,但是像这样的网址

UPDATE: To clarify, I wasn't meaning naked domain, but a url like this

www.newexample.com/blog 可以作为 new.example.com/blog o r可能更清楚, new.example.appspot.com/blog

www.newexample.com/blog can work as new.example.com/blog or perhaps even more clearly, new.example.appspot.com/blog

推荐答案

是的,你只是在google应用中设置自定义域时,必须使用asterix *。example.com

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.

请参阅自定义域

*。yourappid.appspot。 com域名默认情况下工作。

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

您可以将您的应用添加到许多不同的Google Apps帐户(因此可以使用多个域),但是不能使用Google Apps中的网域别名,因为只能使用Google Apps帐户的主要网域。

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.


使用Google应用程式的应用程式引擎不适用于非主域的用户。

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

请参阅多个域的限制

这篇关于App Engine - 自定义域指向子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆