Sign in to follow this  
Followers 0
Dinosaurr

Getting the IP address of a website.

2 posts in this topic

#1 ·  Posted (edited)

I am looking on how to get an ipaddress of a website

I have tried:

TCPNameToIP but it doesnt work like i thought it would(wont return the ip address of a site for example: www.google.com)

[edit] nvm got it working

:)

Edited by Dinosaurr

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi.

I am looking on how to get an ipaddress of a website

I have tried:

TCPNameToIP but it doesnt work like i thought it would(wont return the ip address of a site for example: www.google.com)

[edit] nvm got it working

The IP address of a web site at a given time IMHO isn't too helpful:

1.) IP addresses can change frequently, especially when resolving addresses like www.google.com: Many physical webservers service this address, and so the requests from all the world are balanced.

2.) for smaller web sites, especially for free web space, *MANY* web sites are hosted on *ONE* server. The correct content "behind" the IP address is addressed through the http request, which holds the information *what* web site shall be addressed. Example:

http://www.james.com/ and http://www.joe.com/ could both be hosted on a server with the IP address 123.123.123.123

If you address http://123.123.123.123/ you will *NOT* get the content you expect, neither jame's nor joe's web sites can be accessed this way.

Regards, Rudi.

[edit] typo

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0