For example, a page that provides information about a product might have a link to a remote site with additional information. Tracking IP addresses across the site can also reveal traffic leaks. The site can build on popular pages to increase site traffic. Websites also track and record IP addresses to learn which pages are most popular. The length of time a website holds on to IP logs is variable, configured by the site’s administrator, and dependent upon many factors. Older data is routinely purged from logs to make room for newer data. Each request from the IP address is recorded, along with a time stamp. Don’t forget to subscribe to the newsletter and get all the new tutorials once each week, for free.For these reasons and more, websites track and record IP addresses as a matter of course, storing the numerical addresses in server logs. If you have any questions or suggestions, please leave a comment below. In a related post, you may also read about finding the default gateway IP in Linux. I hope this quick Linux tip helped you to find the IP address of a website in Linux terminal. So, you just saw three networking tools that would give you the same result. You’ll have to use Ctrl+C to stop the ping command. ping Ī sample output for looks like this: ping You can use either the server’s IP address or the URL. Ping command is used to check whether the remote host is up or not.
#Track ip address from url how to#
Let’s see how to get the IP address of a website with the ping command in Linux. Method 4: Get website’s IP address with ping command in Linux Sample output would be like this: host į has IPv6 address 2a03:2880:f139:83:face:b00c:0:25deį mail is handled by 10. It just displays the IPv4 and IPv6 addresses of a website. But unlike the above two commands, the output of the host command is neat and precise. Like the above two, host is also a DNS lookup utility. > DiG 9.11.3-1ubuntu1.5-Ubuntu > įor example, if I try to get the IP address of, this is the output I get: nslookup Īddress: 2a03:2880:f10c:83:face:b00c:0:25de Method 3:Get IP address of website using host command The sole purpose of this command is to perform DNS lookup and display the answers returned by the nameserver of the queried website.Ī sample output for the dig command looks like this: dig Method 1: Get website IP address with dig commandĭig is a DNS lookup utility.
#Track ip address from url install#
You can easily install them using the package manager of your distribution. Good news is that they are available in the default repositories of most Linux distributions.
Commands to find IP address of a website in Linuxĭo note that you might have to install some of these utilities mentioned here. In this one, I am going to show you some of those commands here. In an earlier article, I showed you how to find IP address in Linux. In fact, there are several command line tools you can use to find the IP address of a website. How do I find the IP address of a website using Linux terminal?įinding the public IP address of a website’s server is quite easy.