CrazyEngineers
  • Find the IP address of a website using command prompt

    Ganesh MSD

    Member

    Updated: Oct 26, 2024
    Views: 1.0K
    open the command prompt.
    and type : ping <a href="https://www.google.com" target="_blank" rel="nofollow noopener noreferrer">Google</a> 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.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • shibi raj

    MemberMar 31, 2013

    Nice.. 😁
    Are you sure? This action cannot be undone.
    Cancel
  • poganinja

    MemberJul 20, 2013

    Ganesh MSD
    open the command prompt.
    and type : ping <a href="https://www.google.com" target="_blank" rel="nofollow noopener noreferrer">Google</a> 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...
    Are you sure? This action cannot be undone.
    Cancel
  • Ashraf HZ

    MemberJul 20, 2013

    Ganesh MSD
    open the command prompt.
    and type : ping <a href="https://www.google.com" target="_blank" rel="nofollow noopener noreferrer">Google</a> 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 😀
    Are you sure? This action cannot be undone.
    Cancel
  • Nayan Goenka

    MemberJul 20, 2013

    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]
    Are you sure? This action cannot be undone.
    Cancel
  • Nayan Goenka

    MemberJul 21, 2013

    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.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register