将 Google App Engine 与我的 Dreamhost 注册域结合使用

发布于 2024-08-16 08:54:54 字数 1310 浏览 2 评论 0原文

我已经使用 dreamhost 注册了一个域名 example.com,并且目前在 www.example.com 上设置了一个标准的 WordPress 博客。我想让 appengine.example.com 指向我的 Google Appengine 应用程序,但这样做有些困难。目前,appengine.example.com 仅指向 Dreamhost 服务器上的普通目录,而不是我的 Appengine 应用程序。我在下面给出了尽可能多的细节 - 我将非常感谢您的任何建议。

我已按照 Google 提供的一些步骤以及以下帖子中的一些回复进行操作: 如何将 Google App Engine 与我的拥有裸域(不是子域)?但我仍然遇到问题。

我所做的:

  1. 创建并注册了一个新域:www.example.com,设置了 Google Apps + Gmail。转到 Google Apps 控制面板 >域和添加的域: example.com
  2. 从 Dreamhost 面板中选择“添加新域”,并添加 appengine.example.com 。在进行故障排除时,我已在为此域启用“Google Apps”和“我已经为主域:example.com”进行设置之间切换,所以我不知道是否需要为该域执行此操作子域。
  3. 进入 Google App Engine,选择我的应用程序 >应用程序设置>域设置>添加域名>添加了 example.com
  4. 被带到 Google Apps 控制面板,可以看到我的应用程序,并添加了 URL:appengine.example.com。现在显然可以从 appengine.example.com 和 myapp.appspot.com 进行访问

在此阶段,appengine.example.com 仍然仅指向我的标准 Dreamhost 目录。

许多讨论的指南都通过 Dreamhost 调整您的域设置的 CNAME 记录;如果您已经设置了用于 Google Apps 的域,我不确定这是否有必要,但我也尝试这样做。

采取的行动: appengine.example.com > > DNS>添加自定义 DNS 记录:

  • 名称:appengine
  • 类型:A
  • 值:ghs.google.com

但它仍然不起作用! 我是否做了一些非常错误的事情?如果有人对此/指导有任何经验,我将非常感激!

谢谢你, 奥尔

I have registered a domain example.com using dreamhost, and currently have a standard wordpress blog set up on www.example.com. I'd like to have appengine.example.com point to my Google Appengine application, but am having some difficulty doing so. At the moment, appengine.example.com just points to my normal directory on the Dreamhost server, and not my Appengine app. I've given as many details as possible below - I'd be hugely thankful for any advice.

I've follow some steps provided by Google, and a number of responses from the below post:
How to use Google app engine with my own naked domain (not subdomain)? but am still having trouble.

What I've done:

  1. Created and registered a new domain: www.example.com, set up Google Apps + Gmail. Went to Google Apps Control Panel > Domains and added domain: example.com
  2. Chose to 'Add new Domain' from Dreamhost panel, and added appengine.example.com . Whilst troubleshooting, I've moved between enabling 'Google Apps' for this domain and not' I've already set it up for main domain: example.com, so I didn't know if I'd need to do this for the subdomain.
  3. Went to Google App Engine, selected my App > Application settings > Domain settings > Add domain > Added example.com
  4. Was brought to Google Apps control panel, and can see my App, and have added URL: appengine.example.com. It's now apparently accessible from appengine.example.com and myapp.appspot.com

At this stage, appengine.example.com still just points to my standard Dreamhost directory.

A number of the guides discussed adjust CNAME records for your domain settings with Dreamhost; I'm not sure if this is necessary if you've already set up your domain for use with Google Apps, but I attempted to do this also.

Action taken:
appengine.example.com > DNS > Add a custom DNS record:

  • Name: appengine
  • Type: A
  • Value: ghs.google.com

Still it does not work!!
Have I done something hugely incorrect? If anyone has any experience with this/guidance I'd really appreciate it!!!

Thank you,
Ol

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

多彩岁月 2024-08-23 08:54:54

您等待 DNS 更改传播多久了?在 Dreamhost 控制面板中所做的更改最多可能需要 24 小时才能真正传到您正在使用的 DNS 服务器。

另外,请考虑 A 记录与 CNAME 记录不同,这正是您想要的。

How long did you wait for your DNS changes to propagate? It can take up to 24 hours for changes made in your Dreamhost control panel to actually make it out to the DNS server that you are using.

Also, consider that an A record is different than a CNAME record, which is what you want.

抠脚大汉 2024-08-23 08:54:54

您需要创建两个 cname 条目。一个主机是“ghs.google.com”,另一个主机是“google.com”,别名是 google apps 为您提供的唯一 ID。

You need to make two cname entries. One where the host is "ghs.google.com" and the other where the host is "google.com" and alias being the unique id google apps gives you.

旧伤慢歌 2024-08-23 08:54:54

非常感谢大家的帮助,这个问题现在已经解决了。

在我的 Dreamhost 域设置中,我选择完全托管该域:appengine.example.com
我需要做的是使用 example.com 的 DNS 设置,并按照您的建议输入:

  1. 名称:appengine.example.com
  2. 类型:CNAME
  3. 值:ghs.google.com

除此之外,还花费了大约 4 小时实际上可以从 appengine.example.com 访问它。

对于遇到麻烦的其他人,我在此处编写了一份快速指南。

再次感谢!!
奥尔

Thanks very much for all of the help, this issue has now been resolved.

In my Dreamhost Domain settings, I had chosen to fully host the domain: appengine.example.com
What I needed to do was work with the DNS settings for example.com and as you suggested, enter:

  1. Name: appengine.example.com
  2. Type: CNAME
  3. Value: ghs.google.com

In addition to this, it took about 4 hours for it to actually be accessible from appengine.example.com .

For anyone else having trouble, I wrote up a quick guide to what I did here.

Thanks again!!
Ol

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