How to Find the IP Address of a Website

Online services can provide free information on IP addresses

A graphic depicting the "world wide web"
Ivary / Getty Images

Each website on the internet has at least one Internet Protocol (IP) address assigned to it. Knowing a website's IP address can be useful to:

  • Bypass website blocking tools
  • Block specific sites such as when administering a home network
  • Narrow the geographic location of a web server

Finding IP addresses can be complicated. Web browsers don't usually display them. Additionally, large websites use a pool of IP addresses rather than just one, meaning that the address used one day might change the next.

Two people in different parts of the world often obtain different IP addresses for the same site even if they use the same lookup methods.

Using Ping

The ping utility can be used to look up IP addresses of websites and any other kind of running network device. Ping attempts to contact the site by name and reports back the IP address it finds along with other information about the connection. Ping is a Command Prompt command in Windows. For example, to find the IP address of Example.com on a desktop computer, use the command line interface instead of the graphical interface and enter the command:

ping example.com

This returns a result similar to the following, which contains the IP address:

Pinging example.com [​151.101.193.121] with 32 bytes of data: . . .

Both the Google Play and Apple App Store contain many apps that can generate these same pings from a mobile device.

Note that many large websites do not return connection information in response to ping commands as a security measure, but the site IP address can usually still be obtained.

The ping method fails if the website is temporarily unreachable or if the computer used to perform the ping is not connected to the internet.

Using the Internet WHOIS System

An alternative method for finding website IP addresses relies on the internet WHOIS system. WHOIS is a database that tracks registration information including the owner and IP address for websites.

To look up website IP addresses with WHOIS, simply visit one of the many public sites such as whois.net or networksolutions.com that offer WHOIS database query services. Searching for a particular site name produces a result similar to the following:

Current Registrar: REGISTER.COM, INC.
IP Address: 207.241.148.80 (ARIN & RIPE IP search) . . .

In the WHOIS method, note that the IP addresses are stored statically in a database and thus do not require the website to be online or reachable over the internet.

Using IP Address Lists

Popular websites have their IP address information published and available through standard web searches, so if you are looking for an IP address for Facebook, for example, you can find it online with a simple search.