2

Suppose the web site can be visited through a static IP. How can I find what it is?

migrated from stackoverflow.com Jun 14 '14 at 16:56

This question came from our site for professional and enthusiast programmers.

  • 1
    ping <website-domain> – alfasin Jul 14 '12 at 5:08
4

You can run nslookup this will work in both dos (windows command prompt) and linux terminal enviroments.

Lookup google.com

nslookup google.com
2

Ping isn't always responded to, depending on firewall rules. If it is a domain name, use nslookup to give you the ip address.

0

You can click Start menu in Windows and find the Run: and type in 'cmd' or 'cmd.exe' and it will open a DOS terminal. Then type the following:

ping somewebsite.com

where somewebsite.com is the site you're referencing. Another option is visit this site and enter the website address and it will tell you the IP address:

Hope that helps.

  • P.S. if you are on a Mac, open the Terminal app and type ping command above. – Mike S. Jul 14 '12 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy