简体   繁体   English

Google App Engine自己的域

[英]Google app engine own domain

Im having trouble with Google App Engine and using my own domain. 我在使用Google App Engine和使用自己的域时遇到问题。 I have a domain that i'm also using in Google Apps for Work. 我有一个也在Google Apps for Work中使用的域。 I have connected my GAE project in Google Apps so they are linked. 我已经在Google Apps中关联了我的GAE项目,因此已将它们链接在一起。 I have added my custom domain in GAE, verified ownership and it seems to be correct. 我在GAE中添加了我的自定义域,并验证了所有权,这似乎是正确的。

Here is a picture of the GAE settings. 这是GAE设置的图片。 在此处输入图片说明

And on Google Apps for work. 并在Google Apps上工作。 在此处输入图片说明

The other setting I know I have to do is on my domain registrar. 我知道我必须要做的其他设置是在我的域名注册机构上。 I have added the records from GAE, from the picture I uploaded. 我从我上传的图片中添加了GAE的记录。 Im using one.com as a domain registrar and my DNS settings look like this: 我使用one.com作为域名注册商,我的DNS设置如下所示:

在此处输入图片说明 在此处输入图片说明

Am I doing something wrong that you can see directly like "Hey what's this guy doing lol" or does it seem correct at first sight? 我是在做错什么吗?您可以直接看到“嘿,这家伙在做什么?”,还是乍一看似乎正确?

Thankful for any help in the right direction. 感谢您对正确方向的任何帮助。

#

EDIT: After following the tip from comment, I have verified and mapped the domain "lkpgpremiumcars.com". 编辑:按照评论的提示操作后,我已经验证并映射了域“ lkpgpremiumcars.com”。 And added "beta" as subdomain. 并添加了“ beta”作为子域。 My "Custom domains" looks the same (like below): 我的“自定义域”看起来一样(如下所示): 在此处输入图片说明

I also removed A and AAAA-records and added a CNAME. 我还删除了A和AAAA记录,并添加了CNAME。

Waiting for DNS update to see if it works. 等待DNS更新以查看是否有效。

EDIT 2: 编辑2:

Still dont work. 仍然不工作。 BTW is it normal behavior that if I select the same subdomain again it says this: 顺便说一句,如果我再次选择相同的子域,它会这样说是正常现象: 在此处输入图片说明

Or is is just because it already points to this app? 还是仅仅是因为它已经指向该应用程序?

You'll need to add this as a sub-domain. 您需要将其添加为子域。

  • First remove the custom domain (beta.lkpgpremiumcars.com) from the developers console. 首先,从开发者控制台中删除自定义域(beta.lkpgpremiumcars.com)。
  • Remove the A and AAAA records that you've added to the DNS. 删除已添加到DNS的A和AAAA记录。
  • Follow the instructions here and on step 1, only add the domain 'lkpgpremiumcars.com' and verify. 请按照此处和步骤1上的说明进行操作,仅添加域“ lkpgpremiumcars.com”并进行验证。 This doesn't mean you're pointing the naked domain to your application. 这并不意味着您要将裸域指向您的应用程序。
  • Once it's verified, refresh the page and now you should have the domain available on step 2. 验证完成后,刷新页面,现在您应该在第2步中拥有可用的域。
  • Select the second option on step 2, put 'beta' on the text box and select the previously added domain from the drop down beside. 在步骤2中选择第二个选项,在文本框中输入“ beta”,然后从旁边的下拉列表中选择先前添加的域。 Click Add. 单击添加。
  • Go back to your DNS settings and add a CNAME record for 'beta' pointing to 'ghs.googlehosted.com. 返回您的DNS设置,并为“ beta”添加指向ghs.googlehosted.com的CNAME记录。
  • Allow some time for propagation and it should work! 留出一些时间传播,它应该起作用!

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

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