Google Appengine和Google Apps - 将www.mydomain.com映射到my-app-id.appspot.com

时间:2021-07-12 23:13:20

This must have been discussed number of times.. but honestly i did so much googling around but it is impossible find a proper answer.

这肯定已经讨论了很多次了......但老实说,我做了很多谷歌搜索但是找不到合适的答案是不可能的。

First i built an app using appengine. Then I went to Versions tab in my appengine and tried to Add domain, which led me to buy the domain using google apps. Once I bought it, i'm lost totally. How do I map my appengine application to www.mydomain.com. I'm not asking about naked domain (http://mydomain.com). that is the least of my problem.

首先,我使用appengine构建了一个应用程序。然后我去了appengine的Versions选项卡,并尝试添加域名,这导致我使用谷歌应用程序购买域名。一旦我买了它,我就完全迷失了。如何将我的appengine应用程序映射到www.mydomain.com。我不是在询问裸域(http://mydomain.com)。这是我最小的问题。

I can see myapp.appspot.com as a service under google apps account. But, how do I map it to www.mydomain.com? Currently it is getting mapped a "google sites" generated page.

我可以在google apps帐户下看到myapp.appspot.com作为服务。但是,我如何将其映射到www.mydomain.com?目前它正在映射一个“谷歌网站”生成的页面。

Please advice.

3 个解决方案

#1


Not having bought a domain through Google, I don't know if they provide DNS configuration. But what you need to do is to configure the DNS for your domain, so that it has a CNAME entry for the subdomain(s) you want to point to your application. It would look something like this:

没有通过谷歌购买域名,我不知道他们是否提供DNS配置。但您需要做的是为您的域配置DNS,以便它具有您想要指向您的应用程序的子域的CNAME条目。它看起来像这样:

Subdomain | Type  | Data
www       | CNAME | ghs.google.com.

Then, in the App Engine part of the Google Apps administration for your domain, you would click "Add new URL" and put "www" in the text box and press "Add".

然后,在针对您的域的Google Apps管理的App Engine部分中,您可以点击“添加新网址”并在文本框中输入“www”,然后按“添加”。

#2


The details on how to set it up is here

有关如何设置的详细信息,请点击此处

http://code.google.com/appengine/articles/domains.html

If you want it to map to www. then put 'www' where they have 'my-app-id' in the last image.

如果你想要它映射到www。然后将'www'放在最后一张图片中的'my-app-id'。

#3


A quick guide to domain name setup on Google App Engine: http://aralbalkan.com/1466

Google App Engine上域名设置的快速指南:http://aralbalkan.com/1466

Are you looking for this.

你在找这个吗?

#1


Not having bought a domain through Google, I don't know if they provide DNS configuration. But what you need to do is to configure the DNS for your domain, so that it has a CNAME entry for the subdomain(s) you want to point to your application. It would look something like this:

没有通过谷歌购买域名,我不知道他们是否提供DNS配置。但您需要做的是为您的域配置DNS,以便它具有您想要指向您的应用程序的子域的CNAME条目。它看起来像这样:

Subdomain | Type  | Data
www       | CNAME | ghs.google.com.

Then, in the App Engine part of the Google Apps administration for your domain, you would click "Add new URL" and put "www" in the text box and press "Add".

然后,在针对您的域的Google Apps管理的App Engine部分中,您可以点击“添加新网址”并在文本框中输入“www”,然后按“添加”。

#2


The details on how to set it up is here

有关如何设置的详细信息,请点击此处

http://code.google.com/appengine/articles/domains.html

If you want it to map to www. then put 'www' where they have 'my-app-id' in the last image.

如果你想要它映射到www。然后将'www'放在最后一张图片中的'my-app-id'。

#3


A quick guide to domain name setup on Google App Engine: http://aralbalkan.com/1466

Google App Engine上域名设置的快速指南:http://aralbalkan.com/1466

Are you looking for this.

你在找这个吗?