Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 understand 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?

like image 401
Ace Avatar asked Feb 13 '11 14:02

Ace


People also ask

What is http GHS Google com?

Google Host Server (GHS) is a proprietary web server software that Google uses for its web infrastructure. We have discovered 302,517 live websites that are using GHS.

What is DNS CNAME example?

CNAME stands for Canonical Name. A common example is when you have both example.com and www.example.com pointing to the same application and hosted by the same server. To avoid maintaining two different records, it's common to create: An A record for example.com pointing to the server IP address.

Can CNAME point to root domain?

A CNAME cannot be placed at the root domain level, because the root domain is the DNS Start of Authority (SOA) which must point to an IP address. CNAME records must point to another domain name, never to an IP address.


1 Answers

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.

like image 107
SLaks Avatar answered Sep 20 '22 22:09

SLaks