Knowledgebase

How to check your IP and the IPs of sites

For various reasons you may need to know what your IP is. You may need to find out the IP address assigned to your local computer by your Internet Service Provider, as well as the IP of your site. In some cases you may also need to know the IP addresses of other sites. In this article we'll show you how to do that.

An easy way to find out the IP address of your local computer is to open with your web-browser one of the sites whose purpose is just to show the IP address of the visitor. One such site is whatismyip.org. When you visit it you'll see only your IP address. That's the IP address with which you access the Internet from your local computer. Keep in mind that some ISPs (Internet Service Providers) use dynamic IPs which means that each time you access the internet you may have a different IP. In most cases however, even when dynamic IPs are used, usually a computer is assigned the same IP address.

You can find out the IP of your site and of any other site by executing a simple console command. Windows users can do that with the command prompt. To open the command prompt click on the Start windows button that's in the lower left corner of your screen, then click on Run. A small window will pop out; make sure that the text cmd is in the text field of that window and click on the OK button under the field. This will open the command line; type the following command:

ping yourdomain.com

and click on the Enter button on your keyboard. You can replace yourdomain.com with the domain of any site. After you execute the command you'll see a text in the command-line window informing you that you're pinging the listed domain and in brackets after the domain name you'll see displayed its IP address. Then some "packets" will be sent to test the connection to the particular site (that's the purpose of the ping command).

Was this answer helpful?

 Print this Article

Also Read