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 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
add comment

1 Answer 1

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
add comment

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.