Server Fault is a question and answer site for system and network administrators. 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 am working with node.js and I am trying to figure out a way to have a rather different server configuration.

I would like to have three "apps" run.

  • index
  • app1
  • app2

Index can run on port 80, and would assume the root domain name

I want app1 and app2 to appear and respectively.

I was thinking it might be possible for app1 and app2 to run on different ports (e.g. 81, 82) and somehow mask over

Is there anyway to do this configuration?

Full disclosure, I added this question (worded very differently) to stackoveflow and I've been told that the sub-domain route is the easiest, and I understand, but I would really like to try to get this working.

share|improve this question

HAPROXY was my solution. Its really great at doing exactly what I need.

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.