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.

Is it possible? If it is the case, how can I do it? I need it since I want to test communication between web servers on a local network and I do not have a local network. I just have one computer. I use apache on Windows 7.

share|improve this question
1  
Have you considered just using something like VirtualBox or Vmware to setup multiple virtual machines? Virtual machines will give you a more realistic setup, and it will probably be a lot easier to setup. –  Zoredache Mar 10 '10 at 9:21
    
@Zoredache, I actually did not considered this possibility since I did not know about it. Thanks for the advice, I will consider this possibility. –  Roman Mar 10 '10 at 9:35
    
I'm curious about what sort of communication you're trying to test because web sites normally don't talk to each other. Perhaps we can suggest another method. –  John Gardeniers Mar 10 '10 at 9:47
    
@John Gardeniers, web sites talk to each other all the time these days. It is call web-services. –  Zoredache Mar 10 '10 at 16:24
    
@Zoredache, that's a pretty small percentage of sites though, so not the norm. –  John Gardeniers Mar 10 '10 at 20:38

1 Answer 1

Yes, it is possible.

You just have to use two different configuration files which differ (at least) in their Listen directives. Also read Setting which addresses and ports Apache uses.

share|improve this answer

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.