How to get information about a site using the command line

Table of contents:

How to get information about a site using the command line
How to get information about a site using the command line
Anonim

This article shows you how to find basic website information on a Windows computer. You can use the command line to find out the IP address of the website, the route from your network to the website, and the DNS address of the website.

Steps

Get Website Information Using Command Prompt Step 1
Get Website Information Using Command Prompt Step 1

Step 1. Open the Start Menu

Windowsstart
Windowsstart

Click on the Windows logo in the lower left corner of the screen.

Get Website Information Using Command Prompt Step 2
Get Website Information Using Command Prompt Step 2

Step 2. Find Command Prompt

Enter command line to display search results.

Get Website Information Using Command Prompt Step 3
Get Website Information Using Command Prompt Step 3

Step 3. Click "Command Prompt"

Windowscmd1
Windowscmd1

It's an option at the top of the Start menu. A command prompt window will open.

Get Website Information Using Command Prompt Step 4
Get Website Information Using Command Prompt Step 4

Step 4. Ping the desired web address

Do this to find out how long (in milliseconds) the requests take to this site:

  • Enter ping website.com, where replace “website.com” with the address of the site you want.
  • Press ↵ Enter.
  • Press ↵ Enter again to stop pinging.
Get Website Information Using Command Prompt Step 5
Get Website Information Using Command Prompt Step 5

Step 5. Determine the route of the data to the required site

Enter the "traceroute" command, which will display the addresses of all servers between your computer and the website:

  • Enter tracert website.com, where replace “website.com” with the address of the site you want.
  • Press ↵ Enter.
  • Review the route that your request took (in the entries marked with asterisks, the request timed out).
Get Website Information Using Command Prompt Step 6
Get Website Information Using Command Prompt Step 6

Step 6. Find out the DNS address of the website

Please be aware that the DNS address of the website is different from the IP address:

  • Enter nslookup website.com, where replace “website.com” with the address of the site you want.
  • Press ↵ Enter.
  • View the DNS addresses of the website.

Advice

The IP address of a website can be used to open this website if access is blocked

Popular by topic