App Engine - 指向子域的自定义域
我听说现在我们可以在谷歌应用程序引擎上做通配符子域名(我自己没有尝试过,但我相信这是添加的新功能),但是我们可以有一个指向它的域名吗?
所以
new.example.com (有效吗?)
newexample.com -> new.example.com (这有效吗? newexample.com 充当 new.example.com)
按照我设想的 newexample.com 的方式,这将充当
newexample.com/blog > 在网址中,但应用程序引擎将支持它作为 new.example.com/blog
我想我想强调的是,我不是在寻找域名转发,其中 newexample.com 只是将用户转发到新的.example.com
谢谢!
更新:澄清一下,我的意思不是裸域,但是像这样的网址
www.newexample.com/blog 可以用作 new.example.com/blog 或也许更清楚,new.example.appspot.com/blog
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?
So
new.example.com (works?)
newexample.com -> new.example.com (does this work? where newexample.com is acting as new.example.com)
The way I envision newexample.com, this would work as
newexample.com/blog in the url, but app engine would support it as new.example.com/blog
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
Thanks!
UPDATE: To clarify, I wasn't meaning naked domain, but a url like this
www.newexample.com/blog can work as new.example.com/blog or perhaps even more clearly, new.example.appspot.com/blog
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,在 Google 应用中设置自定义域时,您只需使用星号
*.example.com
即可。请参阅自定义域
*.yourappid.appspot.com 域默认有效。
您可以将您的应用程序添加到任意多个不同的 Google Apps 帐户(因此可以使用多个域),但您不能在 Google Apps 中使用域别名,因为只有来自 Google Apps 帐户的主域才是可用的。用过的。
请参阅多个域的限制
Yes you just have to use an asterix
*.example.com
when setting up your custom domain in google apps.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.
See Limitations for multiple domains
如果问题是:
Google App Engine 能否提供“裸”域(例如 newexample.com)(即前面没有
www.
等任何内容)?那么答案是否 - 请参阅常见问题解答
通配符子域名可让您拥有任何用户输入的子域(例如 myphotos.example.com、yourphotos.example.com 等)由 Google App Engine 提供服务,而无需单独设置每个域。尽管它确实需要支持通配符的 DNS 提供商。
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.