Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have one computer. I am running two instances of 2 differently installed Apache servers.

1 via WAMP 1 via Zend Framework

I wish for wamp to be connected towards "karl.local" And for Zend to be connected via "zend.local"

Now i have in the Windows HOSTS file:

127.0.0.1   karl.local
127.0.0.2   zend.local

And in each on the apaches httpd.conf file:

# WAMP Apache
Listen  80

# Zend Apache
Listen 127.0.0.2:8080

(Yes I have the whole: "< VirtualHost..." included at the bottom of each conf file)

This isn't working, "zend.local" is still pointing towards my wamp server and not the zend one. What am I doing wrong?

share|improve this question
Listen 80

in your WAMP-Apache config is a catchall, it listens to every localhost address. You should specify

Listen 127.0.0.1:80
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .