This wikiHow teaches you how to find basic information about a website via Command Prompt on a Windows computer. You can see a website's IP address, the route from your network to the website, and the website's DNS information from within Command Prompt.

Steps

  1. 1
  2. 2
    Search for Command Prompt. Type in command prompt to bring up a list of matching results.
  3. 3
  4. 4
    Ping the web address you want to check. You can "ping" the nearest website server to see how far away the server is in milliseconds:
    • Type in ping website.com where "website" is your website's name.
    • Press Enter.
    • Press Enter again to stop the ping.
  5. 5
    Trace the website's route. Sending a "traceroute" request to your website will show the route the request takes, documenting any server addresses between you and the website:
    • Type in tracert website.com where "website" is the website's name.
    • Press Enter.
    • Review the path your request took (sections with asterisks are instances in which the request timed out).
  6. 6
    Check the DNS information for the website. You can see the website's DNS address, which differs from the IP address, by doing the following:
    • Type in nslookup website.com where "website" is the name of the website.
    • Press Enter.
    • Review the website's DNS addresses.

Community Q&A

  • Question
    How can I get a website name by using server IP?
    Community Answer
    Community Answer
    Type nslookup followed by a space and the IP address of the server.
  • Question
    How do I get an IP address of a website using CMD of Microsoft Windows [Version 6.3.9600]?
    Community Answer
    Community Answer
    You can use the same method shown above. For any version, you should be able to use this method.
  • Question
    Do I need internect connection to perform this?
    Community Answer
    Community Answer
    Yes, you will need an internet connection to obtain Website Information using Command Prompt.
  • Question
    If I type in a command like "ping google.com", it says "ping is not recognized as an internal or external command, operable program or batch file". How do I find out the IP?
    Community Answer
    Community Answer
    Make sure that you're not using quotes and that you have a space between the ping command and the website.
  • Question
    How do I access WiFi via command prompt?
    Community Answer
    Community Answer
    You can use ipconfig to surf through your ip and other related stuff, just open CMD prompt and type ipconfig (do not share your IP and other info with others).

Warnings

  • Most websites use firewalls to block unauthorized access, so the IP address you see for a website may be misleading.

About This Article

JL
Written by:
Tech Specialist
This article was written by Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 306,057 times.
How helpful is this?
Co-authors: 23
Updated: May 19, 2021
Views: 306,057
Categories: Websites | Command Prompt