开发者

What is the mechanism of the `ghs.google.com` domain?

开发者 https://www.devze.com 2023-02-10 18:30 出处:网络
If I want to bind a domain name to my app on the GAE (Google App Engine), I should add a CNAME record to ghs.google.com.I\'d like to und开发者_如何学JAVAerstand how this domain works.

If I want to bind a domain name to my app on the GAE (Google App Engine), I should add a CNAME record to ghs.google.com. I'd like to und开发者_如何学JAVAerstand how this domain works.

For example, I have a CNAME like this: blog.goace.comghs.google.com, and my app's URL is ace.appspot.com. When I type http://blog.goace.com in my browser, what will happen before I see my Gapp on the screen?


Your browser sends a request to Google's server with the Host: yoursite.com header.

Google looks up this hostname in a (very large) database mapping hostnames to websites, then serves the corresponding website.

This database includes App Engine apps, Google Apps aliases, BlogSpot blogs, and other things.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号