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 VPS and I don`t know the best way. /var/www/my_app or /home/user/www/my_app or something else? Which alternate is better?

share|improve this question
up vote 1 down vote accepted

You can put you app wherever you want. That being said if you chose /var/www... then you will be using a path that is fairly common. One of the benefits of this is that many tutorials and other documentation commonly use /var/www so it's easy to follow them and relate to your own website/app.

share|improve this answer
maybe create special user "deploy" and put /home/deploy/www? – mystdeim Apr 9 '11 at 12:59

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.