How to Get Website Information Using Command Prompt

Download ArticleDownload Article

This How.com.vn 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.

Things You Should Know

  • Go to
    How.com.vn English: Windows Start
    and search command prompt, then open the
    How.com.vn English: Windows cmd
    Command Prompt from the results.
  • Ping the website for which you want to get information (in this case, "website.com"). Type ping website.com. Then, press Enter.
  • Type tracert website.com to trace the website's route and nslookup website.com to check the DNS info for the website.
  1. How.com.vn English: Step 1 Open Start icon.
    Click the Windows logo in the bottom-left corner of the screen.
  2. How.com.vn English: Step 2 Search for Command Prompt.
    Type in command prompt to bring up a list of matching results.
    Advertisement
  3. How.com.vn English: Step 3 Click icon Command Prompt.
    It's at the top of the Start menu. Doing so will open the Command Prompt window.
  4. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 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.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I get a website name by using server IP?
    How.com.vn English: 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]?
    How.com.vn English: 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?
    How.com.vn English: Community Answer
    Community Answer
    Yes, you will need an internet connection to obtain Website Information using Command Prompt.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • You can sometimes use a website's IP address to connect to the website in an environment in which the website itself is blocked.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

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

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. 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 365,160 times.
      How helpful is this?
      Co-authors: 23
      Updated: October 25, 2022
      Views: 365,160
      Categories: Websites | Command Prompt
      Thanks to all authors for creating a page that has been read 365,160 times.

      Reader Success Stories

      • How.com.vn English: Anonymous

        Anonymous

        Mar 4, 2017

        "It helped me to recall the tracert command to use it."
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement