Skip to main content

How To Find Location Of Server Of Website From URL?

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.

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 ~

Comments

Popular

How to { Compile + Run } a C Program Using Nano

Hello Everyone !!! If you don't have an IDE or Software with you to run your code, then don't worry !!! We have Hulk. Oops !! Sorry that was Tony Stark's dialogue... We have Nano to Compile & Run the program. At the end of this tutorial, you will be able to compile & run a C program using Nano Text Editor on the Terminal. Intro In the previous tutorial, we learned about the basic functions of Nano Text Editor using Command Line. If you haven't seen the previous tut, then click here . I found this feature of running C program with Nano while Code Blocks Software on my Mac was continuously crashing. So, when you don't have any IDE (Integrated Development Environment), you should use Nano. Let's Get Started Let's open up the Terminal. We can use (Ctrl + Alt + T) shortcut to open the terminal. The terminal is a very powerful tool of the operating system. Creating a new file DCs-MacBook-Air:~ Dhanraj$ nano fileName.c Here, ...

NANO | Command Line Text Editor

In this tutorial, you will learn to open, view & edit text files using the "Nano Text Editor" by running amazing commands in the terminal. Index Intro  Why Use Text Editors?  Let's Get Started  Open Text Editor  Create a New File  Open Existing File  Editing The File  Saving The File  Useful Cheats  Final Touch  What's Next?  Intro If you want features like undo/redo, syntax highlighting, line numbers, multiple files at once, replace at all locations, file locking, file backup with simple commands, then definitely you need Nano Text Editor. Nano is quite an old text editor written in C. Text Editor is a program which allows you open, view, edit text files. Text Editors can handle many different programming languages like C, Python, Ruby, HTML, CSS, etc. There are some Softwares like Microsoft Word, Pages, Google Docs. But, we can't use them to code. Text Editors are not IDE (Integrated Development Envi...

🔥 Top 10 🔥 Most Useful Coding Tools & Resources Every Programmer 👨🏻‍💻 Should Know

Hello Everyone!!! In this post, I will tell you some awesome tools that every programmer should know. These tools are very useful & can increase your productivity. Intro The tools are sorted on the basis of their use. These tools can increase your productivity, save your time & much more !!! There are top 3 platforms in each category & web URL is attached to it. 10. Learning Platforms  Udemy YouTube Udacity 9. Discussion Platforms Stack Overflow GitHub Stack Exchange 8. Competitive Programming  HackerRank HackerEarth CodeChef 7. Personal Profile Portfolio Wix Strikingly Square Space 6. Databases  FireBase Realm MySQL 5. FrontEnd Website Builders WordPress Wix Squarespace 4. Design Tools  Canva Sketch Adobe Photoshop 3. Design Resources FreePik Flat Icon Color Hunt 2. Team & Project Management Slack Trello Atlassian Jira 1. Code Management DropBox Atlassian ...