There are probably lots of reasons why you might want to know the IP of a certain site or group of sites. For example maybe you want to make sure you aren’t building links on a network of sites all on the same IP. If you are, it might look like you’re buying links from one person and we all know how Google feels about buying links or obtaining them unnaturally at least. Or perhaps you or one of your clients has a reputation management problem and you want to see if all the sites targeting yours is owned by the same person.


One reason that I’ve needed to know the IP of a website recently is that I had to help a friend redirect a group of sites in the DNS at some small hosting company to one site on another server. They don’t want to use htaccess and the only way to do this is by knowing the exact IP address of the site they need to go to. In the DNS settings, I was able to get the redirect to work by entering the URL of the site, but it wouldn’t redirect the non-www versions of the sites which is why I needed the exact IP address.

Whatever your reason for needing to know the IP of a website, here’s how to do it in both Windows and Mac.

Finding the IP of a site in Windows

Start by opening the Command Prompt in Windows. There are various ways to do this and also depends on the version of Windows you’re using. For example, if you are on Windows XP you can use the RUN function which you can find in the Start menu. From there simply type “cmd” without quotes and hit enter.

If you’re in Windows Vista, the Run feature has been moved, but that’s OK. Instead, open your Start menu and type “cmd” into the search box at the bottom. This will find the cmd.exe program. I don’t have Windows 7, so I’m not sure if it works the same way.

Once open, type: ping

And there you have it!

Finding the IP of a site in Mac

Doing this in Mac is super easy. It’s as simple as typing “Network Utility” into Spotlight and opening it up.

Or you can do it the long way: Open Finder > Macintosh HD > Applications > Utilities > Network Utility

Once open, click the Ping tab and enter the URL. Set the “Send only _____ pings” field to 1 and hit the Ping button to see the IP address. Simple as that.