How to identify possible virtual host

Cyber Ninja
Cyber Ninja used Ask the Experts™
on
How to identify possible virtual host on a network using IP address. I have the ip address but i don't know how to go any further
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If you run arp -a you should be able to get the MAC address.  That would be instructive if you know the MAC addresses of your devices.

A crude method is to do a continuous ping to the IP address (assuming it responds to pings) and disconnect cables at your main switch until the responses stop.

If you have managed switches, they should be able to help track down on which switch port the device is located.
Distinguished Expert 2017

Commented:
Please clarify, are you talking about a VM or a host, physical system that has VMs?

Author

Commented:
@arnold i meant a physical apache server that has VMs
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Distinguished Expert 2017

Commented:
Are you talking abou virtual host web sites, or virtual systems running..

Usually web servers are accessible via ssh.

Author

Commented:
@arnold im talking about virtual host websites
Dr. KlahnPrincipal Software Engineer

Commented:
There is no detectable difference between an Apache default host and a vhost as far as clients are concerned.  To determine whether a site is a vhost or a default host, it is necessary to log into the server system and examine the Apache configuration file, httpd.conf, and any vhost includes.

Is that the information you were seeking, or is it something else?
Distinguished Expert 2017
Commented:
In such a case, access to the host is commonly via ssh for remote access or directly in front of the system

From that point, much depends on your setup whether the virtualhost are managed via text files or gave a database type back ends.

So, now that it is clear what is being discussed, you can not rely on ip addresses to determine virtualhost as an ip can host multiple virtualhost in both secure and insecure mode.
The only way to determine what virtualhost S you gave is either to pull the information while in the server, or if driven by a backend db, query it for information.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial