Find the IP address of a website using command prompt

open the command prompt.
and type : ping Google then wait few sec it will shows the website IP address..!!


NOTE : You must need the net connection for accessing website IP address.

If you want to know your computer IP address open command prompt and type IPconfig now you will see your system IP address.

Replies

  • shibi raj
    shibi raj
    Nice.. 😁
  • poganinja
    poganinja
    Ganesh MSD
    open the command prompt.
    and type : ping Google then wait few sec it will shows the website IP address..!!


    NOTE : You must need the net connection for accessing website IP address.

    If you want to know your computer IP address open command prompt and type IPconfig now you will see your system IP address.

    Nice information really helpful for those who want to find the ip address of website name ..I usually find ip address of any website name just by doing domain host search at site named as here they display the ip address of the particular website ...They also display your current network ip address...
  • Ashraf HZ
    Ashraf HZ
    Ganesh MSD
    open the command prompt.
    and type : ping Google then wait few sec it will shows the website IP address..!!


    NOTE : You must need the net connection for accessing website IP address.

    If you want to know your computer IP address open command prompt and type IPconfig now you will see your system IP address.
    Hi Ganesh, it would be more useful if you can describe how its able to get the IP address from the host name, and not just the command. Make full use if the thread to open up further discussions 😀
  • Nayan Goenka
    Nayan Goenka
    The IP address you get by this is not always reliable. Organisations who know how to imply security do NATting where they spoof their static IP with a dynamic or other static IP to keep their servers safe from hackers. Also many times free websites or websites with premade frameworks are often hosted on same servers. So IPs of alot of websites may appear to be same. So its not useful since that host has also employed NATting. This trick is useful in case where the websites are locally hosted by individuals or organizations on their own hardware and who are not concerned about their security or they ignore it. Like many small scale colleges, small companies/offices etc. Many a times in order to apply effective security many websites wont even respond to ping request.


    To support this, the IP address of google you get by ping is of course not the real IP address. On the other hand, if you try to ping microsoft.com, it wont even give you a reply. So trusting on Pinged IPs works like 20% times to get you the perfect IP address.


    This is a link to a screenshot of three guildlaunch hosted websites. Three different websites hosted by same company(Guildlaunch-provide framework and space to host/create a website. Pretty good must try it sometimes if you want.). Same IP address to all three websites but doesn't respond to ping. The server administrator has blocked the ping command in order to protect their server from getting DDoSed. Because if this server goes down, it affects a number of websites- paid as well as free.

    #-Link-Snipped-#
    [​IMG]


    this is a screenshot of trying to ping microsoft.com. No reply. Also the IP address displayed is a fake one. Go to some other country or a place with private default gateway (Extremely secret agencies/ high profile stuff/ extremely costly or may say impossible within same country) you will get some different IP there.

    #-Link-Snipped-#
    [​IMG]


    This is a screenshot of trying to ping google.com. We get a reply. That too because google supports ping request for their internal networking reasons and also people are too attached to google to check their connections. First website you open is Google. So they ping it to check the network sometimes. Google has employed extensive NATting which means on layers they protect their actual IP address. Go to some place with different default gateway, you get some different IP.

    #-Link-Snipped-#
    [​IMG]
  • Nayan Goenka
    Nayan Goenka
    ash
    it would be more useful if you can describe how its able to get the IP address from the host name, and not just the command. Make full use if the thread to open up further discussions 😀


    Let me cover it for him since I already explained the ping concept to much detail.

    The ping request tries to establish a "Hello" connection to the website we are specifying. Now here comes the role of the DNS. The domain name of the website is resolved to effective or registered IP address and the request is then forwarded to the concerned server. So the DNS server feeds you with the IP address not the main server of the website. So another reason not to trust that IP ALWAYS.

You are reading an archived discussion.

Related Posts

I'm surprised no one really noticed - but the gaming world's already jumping with joy as Hideo Kojima announced the next game in the famous MSG series - The Phantom...
I recently stumbled upon National Stock Exchange (NSE) - Emerge initiative by Indian Government. The NSE-Emerge allows SMEs and startups to raise capital from the market (as against VCs or...
Michael Adams, member of University of Georgia's Bioenergy Systerms Research Center has succeeded in finding a way to transform the atmospheric Carbon Dioxide (CO2) into useful biofuel. What this means...
Is there any one-two line code which can make Kernel Panic ? I am keen to know it. 😀
Our new Resources / Downloads section needs your contribution so that we can benefit a large number of visitors out there. I'm listing out a few ideas for the resources...