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 have a news server. It may be possible that there will be multiple virtual hosts on it.

There are two approaches that I see around. One is to login as root and create files under /www/etc, Like;


The other approach is to create a new user wtih a every virtual host and put them in their user's directory. Like;


My setup is like the first one. I am wondering if one approach has any significant advatages over the other? Or is there any other way?

Any ideas?

share|improve this question

If you are the webmaster and will be updating all the content, then option [1] is better.

If your users will be managing and editing their own content, then option [2] works. You can create separate accounts and allow them to edit their own files only.

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.