Zachary_452
10-27-2003, 05:42 PM
Hello,
I was wondering if there is a way to know how many different IPs are used by the same web server. I have a dedicated IP, but I'm wondering how many websites are actually hosted on the server I use.
Also, could anyone tell me what kind of configuration would allow this? I heard about Apache supporting it, and I've heard something about VPS (virtual private servers), but how do I know what's being used for my server?
Thank you!
John[H4Y]
10-27-2003, 05:45 PM
To find how many IPs, try running "ifconfig" from the shell. Also you could try "pico /etc/httpd/conf/httpd.conf" to see how many name and ip based sites are on the server. httpd.conf should be readable even if you are not root. I do not know if you will have access to the "ifconfig" command.
Any configuration allows multiple IPs. Not just a VDS. If you weren't given virtual "root" access, then you are probably in a shared server setup.
Zachary_452
10-27-2003, 06:15 PM
Thank you for the response!
On a related subject, I was wondering if it is possible for multiple clients who each bought a dedicated server package to be assigned the same IP address. Are there any products out there that will check incoming data and rout it to the appropriate server?
Thank you one again.
John[H4Y]
10-27-2003, 08:02 PM
Generally, two dedicated machines will not share the same IP. You can have a router forward specific ports (such as http or ssh) to multiple machines. So you can have 123.123.123.123:80 go to machine 1 while 123.123.123.123:22 will go to machine 2, but each server technically still needs its own public or private IP.
webworkz
10-27-2003, 10:34 PM
^^^^
And you can't forward the same port to two different machines other than with a load balancing mechanism.
Curto
10-29-2003, 10:00 PM
http://www.whois.sc/ lets you see how many sites share a ip just be searching on one site ;)