Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.