120Views8Replies

Author Options:

how can i find a website ip adress? i don't want use a web for finding another web ip. I want to use a program. Answered

Tags:ip

8 Replies

user
Willard2.0 (author)2011-09-18

Use the nslookup command in windows command prompt. Just type in the name of the website without the http://www.

for example to find the address of www.google.ca type: nslookup google.ca and hit enter.  you are looking for the address of the domain, not the address of the http://www. protocol.

The addresses are outlined in red in the pic

Select as Best AnswerUndo Best Answer

user
kelseymh (author)Willard2.02011-09-18

It sounds like you might be confusing nslookup and whois.

Nslookup uses individual host names (such as your www.google.ca example) to query the DNS system to convert that name to a specific IP address.

Whois uses only the domain part of the name (such as "google.ca" in your example) to report on ownership and technical contact information. Most real domain names do not actually map to specific addresses, but rather to blocks of addresses for all of the individual hosts within that domain.

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)Willard2.02011-09-18

.  Although they may resolve to the same IP in some cases, there is a difference between site.tld and www.site.tld (eg, google.ca and www.google.ca). If you want the IP of the web server, you should usually (but not always) include the "www." part.

Select as Best AnswerUndo Best Answer

user
kelseymh (author)2011-09-18

Willard has the Best Answer. Ping uses nslookup behind the scenes in order to do name resolution, so you might as well be more direct.

Select as Best AnswerUndo Best Answer

user
thegeeke (author)2011-09-18

Most websites can be pinged. From cmd, type ping www.yoursitehere.com and press enter. It will give you the sites ip address. Also, you could type tracert www.yoursitehere.com to see the steps it takes to get there. The last step should be the site.

Select as Best AnswerUndo Best Answer

user
Jayefuu (author)2011-09-18

It looks like the NET::Ping module for Perl would do what you want to do. How many domains do you want to check? In what format do you have your list of domains?

James

Select as Best AnswerUndo Best Answer

user
Jayefuu (author)Jayefuu2011-09-18

Or if you just want to do one without using a website, go to Windows command prompt and type "ping www.instructables.com"

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)2011-09-18

. There are many "domain name lookup program"s that will do that for you. Google the string in quotes(or "domain name lookup app") - append your operating system to the search string if you get too many hits.

Select as Best AnswerUndo Best Answer