简体   繁体   English

Google App Engine使用Google Apps非主域

[英]Google App Engine Use Google Apps Non-Primary Domain

I have an application on Google App Engine which I would like to access using my custom domain. 我在Google App Engine上有一个应用程序,我想使用我的自定义域进行访问。 I have a new domain that I just registered and I successfully set it up with Google Apps: forwardfour.com. 我有一个刚刚注册的新域,并且已成功通过Google Apps进行设置:forwardfour.com。

However, I set this up using as the primary domain for email hosting. 但是,我将其设置为电子邮件托管的主要域。 I would really like to host this application from a second domain that I just registered and setup as another domain (not a domain alias) within the same Google Apps account. 我真的很想从另一个我刚刚注册并设置为同一Google Apps帐户中另一个域(不是域别名)的域中托管此应用程序。 The domain is ffstatic.com. 域是ffstatic.com。

I've deployed the latest version of my app on Google App Engine and I followed Google's documentation to add a subdomain for ffstatic.com. 我已经在Google App Engine上部署了最新版本的应用程序,并且按照Google的文档为ffstatic.com添加了子域。 I created a user whose login is somename@ffstatic.com, and I login as that user to link to that domain. 我创建了一个登录名为somename@ffstatic.com的用户,并以该用户身份登录以链接到该域。

However, I am only given the option to add a subdomain for my primary domain, forwardfour.com, even though I entered ffstatic.com into the App Engine console to create a subdomain. 但是,即使我在App Engine控制台中输入ffstatic.com来创建子域,也只能选择为我的主域forwardfour.com添加子域。 No where am I given the option to create a subdomain for ffstatic.com, even though it is a verified domain. 我没有在哪里为ffstatic.com创建子域的选项,即使它是经过验证的域也是如此。

Does anyone know why I cannot do this? 有谁知道我为什么不能这样做? I've heard that it can be done. 我听说可以做到。

Thank you for your time. 感谢您的时间。

I believe it is currently possible to add a custom domain mapping on either Primary Domain or Alias. 我认为当前可以在“主域”或“别名”上添加自定义域映射。

You'll have to remove ffstatic.com as a secondary domain and re-add it as alias. 您必须删除ffstatic.com作为辅助域,然后将其重新添加为别名。

UPDATE : As Matt pointed out, you now have an alternative that does not even involve Google Apps mapping: 更新 :正如Matt所指出的,您现在有了一个甚至不涉及Google Apps映射的替代方法:

We have added support for custom domains for App Engine from the Google Developers Console, meaning you can now associate a custom domain without first associating that domain with Google Apps. 我们已经从Google Developers Console添加了对App Engine自定义域的支持,这意味着您现在可以关联自定义域,而无需先将该域与Google Apps关联。

To access the feature, visit https://console.developers.google.com/ and you will find the option to add a custom domain under App Engine > Settings. 要访问该功能,请访问https://console.developers.google.com/ ,您将在App Engine>设置下找到添加自定义域的选项。

NOTE: Currently we do not support SSL on custom domains created through this method (although we expect to rectify this in a future release). 注意:当前,我们不支持通过此方法创建的自定义域上的SSL(尽管我们希望在将来的版本中对此进行更正)。 In the meantime, we continue to support SSL (via VIP or SNI) for custom domains that are created through Google Apps, and we continue to provide free HTTPS for all *.appspot.com domains. 同时,对于通过Google Apps创建的自定义域,我们继续支持SSL(通过VIP或SNI),并且我们将继续为所有* .appspot.com域提供免费的HTTPS。

https://code.google.com/p/googleappengine/issues/detail?id=8517#c5 https://code.google.com/p/googleappengine/issues/detail?id=8517#c5

This has just been rebuilt with new functionality. 刚刚使用新功能对其进行了重建。

Setting up custom domains is found at https://console.developers.google.com under App Engine -> Settings https://console.developers.google.com的 App Engine->设置下可以找到设置自定义域的信息。

You can map multiple domains now, and I think even naked domains. 您现在可以映射多个域,我认为甚至是裸域。

SSL is not supported at this point though. 不过目前尚不支持SSL。

Matt 马特

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM