Google App Engine上的自定义域 [英] Custom domain on Google App Engine

查看:141
本文介绍了Google App Engine上的自定义域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我发现这个。



< blockquote>

我想将我的应用程序映射到 http://myurl.com (也可以被称为裸体
域)。



由于最近的变化,Google App Engine不再支持将
映射到裸域。如果您的域名注册商支持URL
重定向,则可以从 http://yourdomain.com 重定向到您的应用,
,可以从 http://www.yourdomain.com
等网域投放 http://appid.yourdomain.com



有关如何为Google Apps
域配置重定向的说明,请参阅有关网址转发的文章。


现在我不想诉诸重定向。我理解udacity.com是托管在appengine上,他们似乎使用裸体域名。



所以,我希望这只是典型的坏文档或者没有更新。有没有人有任何关于Udacity如何解决这个问题的信息,或者如何产生这样的行为?

解决方案

AFAIK AppEngine不能映射对于裸体域,您可以将一个代理映射到您的裸域上,他们将代理到应用程序。



大多数应用程序所做的是从裸域到www映射应用程序的位置。 GoDaddy支持GoogleApps支持该功能,并支持各种其他免费和付费的DNS服务。


I'm trying to map my (naked) domain to an app.

I found this.

I'd like to map my app to http://myurl.com (also known as a naked domain).

Due to recent changes, Google App Engine no longer supports mapping your app to a naked domain. If your domain registrar supports URL redirects, you can redirect from http://yourdomain.com to your app, which can be served from domains like http://www.yourdomain.com or http://appid.yourdomain.com.

For instructions on how to configure a redirect for your Google Apps domain, please see the article on URL forwarding.

Now I'd like not to resort to redirection. I understand udacity.com is hosted on appengine and they seem to use a naked domain.

So, I;m hoping this is just typical bad documentation or not updated. Does anybody have any info on how Udacity solves this problem or how could I produce such a behaviour?

解决方案

AFAIK AppEngine cannot be map to a naked domain, you can have a proxy mapped on your naked domain they will proxy into the application.

What most applications do is use forward from the naked domain to www where the application is mapped. GoDaddy supports that GoogleApps supports that and various other free and paid DNS services support that.

这篇关于Google App Engine上的自定义域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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