Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please how do I make sure that my i.p IP address have separate content than my domains.

Anytime I visit my i.p address it keeps showing me the first entry in my virtual host file.

share|improve this question
Are you locating it by IP or by hostname? – Ram Sep 27 '11 at 4:17
Are you wanting to do this from the server or the client? – John Gardeniers Sep 27 '11 at 4:36

You can use any command line web browser such as: curl, links, lynx, ... to browse to your IP address and pass the extra header, something like this:

# curl IP.address -H "Host:your.domain"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.