获取自定义域名以使用App Engine实例吗? [英] Get custom domain name to work with app engine instance?

查看:52
本文介绍了获取自定义域名以使用App Engine实例吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过Google网域购买的域名.我想将其指向我的App Engine实例.在App Engine控制台的自定义域"设置标签中,我具有以下内容:

I have a domain name purchased via google domains. I want to point it to my app engine instance. In the "custom domains" settings tab in the app engine console, I have the following:

我希望裸露"和"www"两种口味都指向我的应用引擎实例:

I want both the "bare" and "www" flavors to point to my app engine instance:

http://example.com
http://www.example.com

我不确定要在步骤2中使用哪个选项才能使其正常工作?

I'm not sure which option to use for step #2 to get that to work?

谢谢

推荐答案

您将遵循

You'd be following the Adding a custom domain for your application procedure, with focus on section 4:

4. Continue to the next step the Add new custom domain form, selecting the custom domain you want to point to your App Engine app:

  a. Refresh the console domain page so it will list the domains properly.
  b. If you want to use a subdomain, such as www, use the second option (http://www.example.com).
  c. If you want to use a naked domain, use the first option to specify a naked domain (such as http://example.com).
  d. Click Add to create the desired mapping.

您需要通过分别运行整个第4节两次(分别选择4c和一次选择4b)来明确地分别添加裸域和www子域.

You need to specifically add both the naked domain and the www subdomain, explicitly, by running the entire section 4 twice, once selecting 4c and once selecting 4b, respectively.

要执行此操作,请在步骤#2(在图像中显示的Add a custom domain屏幕中),首先选择第一个单选按钮,作为http://example.com,然后单击Add.不幸的是,您不会在开发人员控制台(AFAIK)的任何位置看到此添加项.通过Google Apps完成自定义域配置后,裸域可以显式可见,但是不再可用.

To do that at step #2 (in the Add a custom domain screen illustrated in your image) you first select the 1st radiobutton, for http://example.com and click Add. Unfortunately you don't see this addition displayed anywhere in the developer console (AFAIK). When the custom domain config was done through Google Apps the naked domain was visible explicitly, but that's no longer available.

然后返回Add a custom domain屏幕,并在步骤#2中选择第二个单选按钮,在文本输入区域中填写www(如果需要),从下拉列表中选择example.com(如果需要),然后单击Add.此添加项应导致在Custom Domain主屏幕(父屏幕)中列出一个新条目,其中包含www.example.com 自定义域名www 别名 >.

Then come back at the Add a custom domain screen and at step #2 select the 2nd radiobutton, fill in www in the text input area (if needed), select example.com from the dropdown list (if needed) and click Add. This adddition should cause a new entry to be listed in the Custom Domain main screen (the parent screen), with a www.example.com Custom domain name and a www Alias.

这应该是全部(DNS更改可能需要一段时间才能传播到您的计算机上,以便您可以验证效果,文档最多会提到24小时).

This should be all (it may take a while for the DNS changes to propagate to your machine so that you can verify the effects, the doc mentions up to 24h).

这篇关于获取自定义域名以使用App Engine实例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆