Jump to content

Recommended Posts

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
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!

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
×
×
  • Create New...