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

I have two domains right now. Both run on Apache and are behind nginx (using proxy_pass).

One site is django and another is php and both are running on different ports.

I want to deploy more domains in similar fashion, however is running apache on multiple ports for different application a bad practice ?

If yes/no, why ?

share|improve this question

migrated from May 28 '11 at 0:57

This question came from our site for professional and enthusiast programmers.

This looks similar to… but it's not quite, so I migrated. – Kev May 28 '11 at 0:57
up vote 0 down vote accepted

No, I don't see Apache listening on multiple ports a performance problem.

I have seen single applications use 1 instance of Nxinx to proxy_pass to multiple upstream apache servers. Sounds like a good idea.

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.