Google App Engine 和域名
情况如下:
我拥有一个 Google Apps for Business 帐户。
我注册了两个域名:
- mycompany.com 这是主域
- myapp.com 这是另一个域
注意:两个域均已验证且处于活动状态。
我正在开发 Google App Engine 网络应用程序,我希望可以通过 myapp.com 或 www.myapp.com 访问它。
到目前为止我所做的事情:
- 我已将 GAE Web 应用程序作为服务添加到我的 Google Apps 帐户中。
- 我尝试更改网址,但 myapp.com 没有出现在保管箱中。
这件事开始让我发疯......
Here is the situation:
I own a Google Apps for Business account.
I have two domain names registered :
- mycompany.com which is the principal domain
- myapp.com which is another domain
Note: both domains are validated and active.
I'm working on a Google App Engine web application and I want it to be accessible via myapp.com or www.myapp.com.
What I've done so far :
- I've added the GAE web application as a service in my Google Apps account.
- I've tried to change the url but myapp.com does'nt appear in the dropbox.
This thing starts to drive me mad...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
ATM 似乎不可能将 App Engine 应用程序绑定到 Google Apps 辅助域(听起来像是一个错误)。
但它在Google Apps 域别名上运行良好。
应该可以工作。
It doesn't seem possible ATM to bind an App Engine application on a Google Apps Secondary Domain (sounds like a bug).
But it works fine on Google Apps Domain Alias.
That should work.
谷歌应用程序引擎不允许映射裸域。您可以使用从 myapp.com 到 www.myapp.com 的重定向。
“由于最近的更改,App Engine 不再支持将您的应用映射到裸域。如果您的域名注册商支持 URL 重定向,您可以从 进行重定向http://yourdomain.com 到例如 http://www.yourdomain.com 或 http://appid.yourdomain.com。"
http://code.google.com/appengine/kb/general.html#naked_domain
google app engine does not allow mapping naked domain. you can use a redirect from myapp.com to www.myapp.com.
"Due to recent changes, App Engine no longer supports mapping your app to a naked domain. If your domain registrar supports URL redirects, you can redirect from http://yourdomain.com to e.g http://www.yourdomain.com or http://appid.yourdomain.com."
http://code.google.com/appengine/kb/general.html#naked_domain
截至目前,App Engine 不支持裸域 ( example.com )。
相反,您可以进行从 example.com 到 www.example.com 的网络转发。这可以通过多种方式实现,具体取决于您注册域的位置以及注册商是否提供 DNS 服务。
如果没有,您可以使用 Zoneedit:
这些更改可能需要一些时间才能传播
在 Google 应用程序页面上,您必须在应用程序设置选项卡上添加 www 网址
(据我了解,您已经做了什么)
希望这会有所帮助,如果不是您,那么也许其他人:)。 + zoneedit 是一个很棒的 &用于 DNS 管理的免费工具,您还可以定义自定义邮件转发和其他内容:)
(Ps.屏幕截图取自运行于 www.secondhand-extra.ro 的工作应用程序引擎示例站点)
As of now, naked domains ( example.com ) are not supported by App Engine.
Instead you can make a Web Forward from example.com to www.example.com. This can be achieved in various ways depending on where you've registered your domain and if the registrar offers DNS services.
If not, you can use Zoneedit:
These changes might take some time to propagate
On the google apps page you had to add thee www web-address on the applications settings tab
(what in my understanding you already did)
Hope this helps, and if not you, then maybe others :). + zoneedit is a great & free tool for DNS management, and you can also define custom mail forwards and stuff :)
(Ps. the screen shots are taken from a working app engine example site that runs from www.secondhand-extra.ro )
在我的 goog 应用程序管理域首页,我转到域设置 ->添加 www.zzz-zzz-zzz.com 的域别名。因此,我添加了 www.zzz-zzz-zzz.org
在我的域名注册商处,我声明了以下重定向:
zzz-zzz-zzz.com -> www.zzz-zzz-zzz.com
zzz-zzz-zzz.org -> www.zzz-zzz-zzz.org
之后,以下网址将全部转到同一个地方:
At my goog app manage domain front page, I go to domain settings -> add domain alias for www.zzz-zzz-zzz.com. So I added www.zzz-zzz-zzz.org
At my domain registrar, I declare the following redirects:
zzz-zzz-zzz.com -> www.zzz-zzz-zzz.com
zzz-zzz-zzz.org -> www.zzz-zzz-zzz.org
After that the following urls would all go to the same place:
我认为真正的答案可以在 Google 的多个域的限制< /a>:
“用于访问 Google Apps 的自定义网址仅适用于主域。管理员可以通过管理控制台为各种服务设置自定义网址。自定义网址仅适用于通过以下位置访问服务的用户:主域也适用同样的限制。到 Google 网站的自定义网址映射。”
这是一个相当严格的限制,因为它要求您为要注册的每个自定义域开设一个新的 Google Apps 帐户,即使所有域都属于同一组织。
I think the real answer is to be found in Google's Limitations for multiple domains:
"Custom URLs for accessing Google Apps are available only for the primary domain. The Admin console enables the administrator to set a custom URL for various services. The custom URL applies only for users accessing the services at the primary domain. The same limitation applies to custom web address mapping for a Google Site."
It's quite a severe limitation, since it requires you to open a new Google Apps account for each custom domain you want to register, even if all domains belong to the same organisation.