how can GAE provide different APPs via different URLs using same IP address?

64 Views Asked by At

for example, when I ping mark.appspot.com and john.appspot.com, it returns the same IP, but these 2 URLs are different APPs.

since these APPs have the same IP, the GET HTTP package will be same. My question is: how can the server return different contents from the same HTTP package?

1

There are 1 best solutions below

0
On BEST ANSWER

This is known as "virtual hosting" read about it at http://en.wikipedia.org/wiki/Virtual_hosting. This technique is used by all shared web hosting providers.