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.

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 stackoverflow.com May 28 '11 at 0:57

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

    
This looks similar to this:serverfault.com/questions/251593/… but it's not quite, so I migrated. –  Kev May 28 '11 at 0:57

1 Answer 1

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

 
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.