gpt4 book ai didi

google-app-engine - 谷歌应用引擎 : Is it possible to allow users to add their own domain for a Multitenancy app?

转载 作者:行者123 更新时间:2023-12-05 05:26:11 26 4
gpt4 key购买 nike

我一直在研究如何让用户使用 GAE 应用程序添加自己的域。

我得到的最接近的东西是:

https://cloud.google.com/appengine/docs/python/multitenancy/

https://cloud.google.com/dns/getting-started

Running Google App Engine application on multiple customer domains

但是我很困惑。所以我的问题是:

假设我的应用是 myapp.com,我有一个用户是 myapp.com/?name_space=user1。 User1 有一个名为 user1.com 的域,并希望将 myapp.com/?name_space=user1 转发到 user1.com。

是否可以使用cloud dns修改CName和A记录让用户转发myapp.com/?name_space=user1到user1.com?

这里有哪些选项?我听说 dnsmadeeasy 是一个可能的解决方案,但我不确定它是否有效。因为那意味着你需要一些api来修改dnsmadeeasy的A记录?

谁能给我一些指导、教程或想法?任何帮助将不胜感激。

最佳答案

您可以通过 Google Domains 为 App Engine 添加自定义域。

对于通过 Google Domains 注册的域,它们提供了一个界面,使用 Google 综合记录将域指向特定的 App Engine ID。

有关 Google Domains 的更多信息,请访问:

https://domains.google.com/about/features.html

然后您可以将 user1.com 指向您的 APP_ENGINE_ID。

Google Domains 目前处于测试阶段 - 但他们一直在发送邀请。我已经成功地使用它在我的一个应用程序引擎帐户上托管自定义域。

需要注意的一点是,目前不支持使用自定义域使用 https,并且已经创建了一个问题。 https://code.google.com/p/googleappengine/issues/detail?id=8528

关于google-app-engine - 谷歌应用引擎 : Is it possible to allow users to add their own domain for a Multitenancy app?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27498867/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com