Hello Everyone!
In this article, we are going to find the root location of any website with the Terminal! We are going to use one amazing command to find the location from the URL.
In this article, we are going to find the root location of any website with the Terminal! We are going to use one amazing command to find the location from the URL.
Intro
Command Line (Terminal) is a very powerful tool! There are so many commands which are very powerful. Now, we are going to find the location of the server of Google. Also, this tutorial has a video tutorial:- CLICK HERE
Step 1: Open Terminal
First of all, Open the terminal. Go to applications & select terminal. Also, we can use a keyboard shortcut to open the terminal. Shortcut to open the terminal : (CTRL + ALT + T)
Step 2: Use "traceroute" Command
The "traceroute" command is used to find the location of a server by going through each connected wired/wireless servers. This command indicates "Trace The Route". We are going to trace the route with the "traceroute" command. This command determines the response delays from various nodes along the route. Also, we can check where is a fault in the route which is quite useful when we have a connection with no internet. We can trace where is the problem in the route.
Let's get started, type "traceroute" command in the terminal with the following syntax.
DCs-MacBook-Air:~ Dhanraj$ traceroute www.google.com
Syntax To Find The Location of Any server with URL:
DCs-MacBook-Air:~ Dhanraj$ traceroute (website URL)
Let's Go & Press Enter.
Step 3: Wait Until It Is Complete
After pressing enter, this process can take a few minutes. The terminal will show all node points through the route with response delays in the form of milliseconds.
Step 4: Copy Last IP Address
We will get all node points with their IP Locations.
Copy the last IP Address between the brackets. I have copied 216.239.47.149 from my terminal.
Step 5: Open https://iplocation.com
Go to google & search for "IP location", Select "https://iplocation.com"
Or
Open this link: IP-LOCATION
Paste the copied IP address in the text field on the website.
Here we go! We have located the server of Google. We can get more info from the above picture like longitude, latitude, country, region & organization.
!!! Thank For Reading !!!
~ Coding Potter ~
~ Out Of Box Learning Series ~
~ Out Of Box Learning Series ~
Comments
Post a Comment