On 10 Jul 2004 09:47:39 -0700, vasanta <(E-Mail Removed)> wrote:
> I am pinging two different URL sites (ping www.xyz.com and ping
> www.abc.com), the reply comes from same server, Is that possible?. In
> the ping reply, the IP address is same. How that is possible?.
You do NOT ping a URL, you ping a hostname (or IP). It is possible that
they are name based virtual hosts (apache and other web servers can do
that). The content is based on the Host header in the HTTP request.
> How can I know the remote web server is running based on Linux?. Or
> Windows based?.
Depending on your browser, it might show http response headers, or you
could use "wget -S -O - http://whatever/" to see what the server
identifies itself as. The 'nmap' program can often identify an OS, but if
there are no signatures it can identify, it might just pick up the Linux
signatures from your end, or it may be misguided by a router in the path.
You have to be cautious about port scanning any box you do not control
anyway, because they may misread it is a crack attempt.
--
David Efflandt - All spam ignored
http://www.de-srv.com/