Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

google.com vs www.google.com

why different IPs?

         

Umbra

4:20 pm on Dec 7, 2006 (gmt 0)

10+ Year Member



I was just curious if this is normal, but today I noticed that if I ping google.com at the DOS prompt, I get IP 64.233.187.99. If I ping www.google.com, I get 72.14.205.99

If I type the IP directly into the browser, I can get the datacenter results that I expect. Yet, entering google.com in the browser always switches to www.google.com

Normally, I couldn't care less, except that 64.233.187.99 shows (what I think) is a more relevant index for what I'm searching for, and 72.14.205.99 is an artifact of the "massive serps change" that was long discussed during the last couple of weeks.

Anyway, maybe this irrelevant but I just thought it was interested that "www vs non-www" also seems to apply to google itself.

ashear

7:07 pm on Dec 7, 2006 (gmt 0)

10+ Year Member



Google uses heavy load balancing systems, thus if you where to perform an nslookup on their IP’s you will see a large block returned. Behind these IP’s you could get a variety of other IP’s in response.

For example:

bash-3.00$ nslookup google.com
Server: 10.249.28.13
Address: 10.249.28.13#53

Non-authoritative answer:
Name: google.com
Address: 64.233.167.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 72.14.207.99

bash-3.00$

jtara

7:45 pm on Dec 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Keep in mind also that the absolutely proper way to do www->non-www or non-www->www redirection is to use two IP addresses: one for the canonical domain, and one for (all the) other(s).

This will insure that even HTTP 1.0 and 0.9 clients will get the correct URL in the browser bar.

ashear

7:59 pm on Dec 7, 2006 (gmt 0)

10+ Year Member



Google strictly does this for load balancing, if you hit any of my sites you could see any number of IP’s show up. If you continually ping Google.com and www.google.com you will see a continual change in IP’s

Hitting any of my servers you could see 100’s of different IP’s show up under the same domain name. Its just how we handle huge volumes of traffic.

webdude

8:54 pm on Dec 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Somewhat related...

[webmasterworld.com...]

Umbra

4:23 pm on Dec 8, 2006 (gmt 0)

10+ Year Member



Thanks for the info guys!