A webmaster might be interested in knowing the IP address of a website to connect via the SSH console, to ping the site, to connect via FTP, to run a tracert, or for a multitude of other reasons.
Let’s see some ways to find a website address:
- If the site is behind CDN click here .
How to find the IP address of a website with Windows
With Windows (any version: XP, Vista, 7, 8 and 10…) we have two alternatives: the Ping command and the Tracert command . The Ping command makes a series of 4 calls to the website and the response time in milliseconds of the webserver is shown for all attempts. This command is also useful for checking the response speed of the website, in particular of the web server.
To Ping, press the Windows button , type “cmd” and launch the Command Prompt application as shown in the figure.
Run Command Prompt
Alternatively you can use the Run function , called Run in English.
Run Run – Command Run in Windows
In Run type CMD to launch Command Prompt.
How to run CMD Prompt in Windows
Now that you have opened the console in Windows you just have to type the command “ping www.example.com”, obviously replacing www.example.com with the website whose IP address you want to know. See the picture.
How to ping a website
With Windows the third alternative is to use the Tracert command . The traceroute command allows to obtain the path followed by the packets on the computer networks, that is the IP address of each router crossed to reach the recipient. To launch Tracert open Command Prompt and type “tracert www.example.com”. Replace www.example.com with the site you want to analyze.
How to follow the tracert of a website
In the response you will be able to see in addition to the final IP, also the individual IPs of the servers from which the request passed. This command is useful for finding famous bottlenecks .
How to find the IP address of a website with Linux
With Linux, Ubuntu , Debian & Co to know the IP address of a website you can use the nslookup command in the console. If you are a Linux user I don’t think it is necessary to explain how to open the console 🙂 Open it and type “nslookup www.example.com”. After pressing enter you will see a screen with the IP address of the website:
How to find the IP address of a website with a Mac
If you are using a Mac system, to find the IP address of a website, open the Network Utility tool . This tool is installed with OSX. Its location varies depending on the version you are using:
- Mavericks (10.9) and earlier:the network utility can be found in “Utility” in the “Applications” directory.
- Yosemite (10.10) and later:Click on the Apple menu and select “About This Mac”. Click on the “System Report” button and select “Network Configuration”.
- Any version:type “network utility” or “network utility” in the “Search” field and you should immediately find the application you need at the top of the list of results.
Once the tool is open, simply enter the website address of the site in the “Ping” tab to find the IP address.
How to follow Ping on Mac
Notes: CDN or VPN protected website
Warning: if the site is behind a CDN or protected by a VPN these methods will not work, in fact you will see the IPs of the CDN.
Tool like Cloudflare wasn’t made for nothing – it’s an anti-DDoS service and a CDN, which will also protect a website by protecting it’s IP address.
In this case, the Censis online tool is useful, which allows you to identify the real IP address hidden behind a CDN.
Do you want to add a new method? Leave a comment.