App Engine - 指向子域的自定义域

发布于 2024-10-20 13:32:05 字数 644 浏览 1 评论 0原文

我听说现在我们可以在谷歌应用程序引擎上做通配符子域名(我自己没有尝试过,但我相信这是添加的新功能),但是我们可以有一个指向它的域名吗?

所以

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一笑百媚生 2024-10-27 13:32:05

是的,在 Google 应用中设置自定义域时,您只需使用星号 *.example.com 即可。

要在给定较高级别子域内的所有子域上提供您的应用程序,您可以使用通配符子域映射:输入星号来代替最低级别的名称。例如,输入 * 将使您的应用在您注册域内的所有子域上提供服务。

请参阅自定义域

*.yourappid.appspot.com 域默认有效。

可以将您的应用程序添加到任意多个不同的 Google Apps 帐户(因此可以使用多个域),但您不能在 Google Apps 中使用域别名,因为只有来自 Google Apps 帐户的主域才是可用的。用过的。

非主域的用户无法使用使用 Google App Engine 的应用程序。

请参阅多个域的限制

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

美人如玉 2024-10-27 13:32:05

如果问题是:
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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文