How to find a websites IP address

Jun 1, 2010 - 2 Comments

Finding the numerical IP address of a website is pretty easy, just launch your Terminal and type the following command:
nslookup google.com

You’ll then see something like this printed back at you:
$ nslookup google.com
Server: 192.168.0.105
Address: 192.168.0.105#74
Non-authoritative answer:
Name: google.com
Address: 74.125.127.147

The number underneath google.com is the IP address for Google. Note that some larger websites will have multiple IP responses.

There’s any number of reasons why you’d want a websites numerical address rather than their resolved domain, from troubleshooting DNS problems, to determining domain neighbors, to configuring network settings.

Related articles:

Posted by: Manish Patel in Tips & Tricks

2 Comments

» Comments RSS Feed

  1. Gordon Buchanan says:

    or you could just ping it … ping yahoo.com

  2. Asnavour says:

    hey, 192.168.0.* isn’t it a local ip address?
    how come it shows google.com?

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Shared on Facebook

Shop at Amazon

Ad

OSXDaily on Facebook