Networking Forums

Networking Forums > Computer Networking > Linux Networking > pinging two different URLs, response comes from same IP address (server), Is that possible?

Reply
Thread Tools Display Modes

pinging two different URLs, response comes from same IP address (server), Is that possible?

 
 
vasanta
Guest
Posts: n/a

 
      07-10-2004, 04:47 PM
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?.

How can I know the remote web server is running based on Linux?. Or
Windows based?.

Thanks.
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      07-10-2004, 06:11 PM
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/
 
Reply With Quote
 
repo
Guest
Posts: n/a

 
      07-10-2004, 06:11 PM
On Sat, 10 Jul 2004 09:47:39 -0700, vasanta 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?.
>
> How can I know the remote web server is running based on Linux?. Or
> Windows based?.
>
> Thanks.


In Apache you can use virtual hosts.

--
Chaos, panic & disorder - my work here is done

http://beginnerslinux.org
http://repo.mine.nu

 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      07-10-2004, 06:19 PM
On 10 Jul 2004 09:47:39 -0700, vasanta 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?.


Looking a google.com
host google.com
google.com has address 216.239.39.99
google.com has address 216.239.37.99
google.com has address 216.239.57.99

so a ping google.com could return any one of the three.


> How can I know the remote web server is running based on Linux?. Or
> Windows based?.


I use http://uptime.netcraft.com/
 
Reply With Quote
 
Abdullah Ramazanoglu
Guest
Posts: n/a

 
      07-10-2004, 08:17 PM
vasanta wrote:

[snip]

> How can I know the remote web server is running based on Linux?.
> Or Windows based?.


http://netcraft.com/

--
Abdullah | aramazan@ |
Ramazanoglu | myrealbox |
________________| D O T cöm |
 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      07-10-2004, 09:18 PM
vasanta 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?.


For multiple machines behind the same router, the router could be set up
to respond to all pings.

> How can I know the remote web server is running based on Linux?. Or
> Windows based?.


$ telnet www.server.com 80

Trying www.xxx.yyy.zzz...
Connected to www.server.com.
Escape character is '^]'.

GET / HTTP/1.0


HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Content-Location: ...etc....
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinging IP Address on Different Subnet william Windows Networking 2 10-31-2007 10:40 PM
Pinging an IP address Jeffatsc Windows Networking 2 07-18-2007 07:04 PM
Can access IP Address with Browser but not URLs Iain Beath Wireless Networks 2 03-31-2007 08:25 PM
MASQ system not pinging outside address lekkie.aydot@gmail.com Linux Networking 0 05-18-2005 10:43 AM
Wrong IP address returned when pinging calvin Windows Networking 1 09-14-2003 03:43 AM



1 2 3 4 5 6 7 8 9 10 11