Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009

    Hosting our own sites as root

    A dedicate server is dedicated entirely for our own 4 websites (i.e. no clients, no reseller ...) therefore I was thinking to host them all as root, however my partner suggested to create a client id for each website as like each of the websites has it's own owner which means more control for each individual sites.

    Which method is better or is there any difference?

  2. #2
    Join Date
    Mar 2002
    Philadelphia, PA
    Nothing should be ran as root unless absolutely required.

    You should follow the suggestion and ensure that the data is all owned by a user, not root.
    Linux junkie |

  3. #3
    Join Date
    Aug 2007
    I suggest using a control panel like Cpanel if you have a budget available for it or Directadmin if budget is limited.

    It might be wise indeed to create a seperate user for each domain, it all depends if your customers also need access to the accounts or not. - Online in no time
    Dedicated Servers in [EU] Netherlands with DAILY support, also on weekends
    DDOS Protected network - 100% Money Back if it doesn't work for you
    Streaming / IPTV allowed | Up to 10 Gbit ports | 100% Network Uptime

  4. #4
    Join Date
    May 2011
    London, UK
    Hi manhal,
    you should not need to have your website data owned by root and more importantly any scripts executed as root.

    Normal practice would be to have your separate websites' folders owned by separate users and provide your http daemon (apache/nginx etc..) with read access. Or read-write, should your site require it.

    However since you are the only party using the server you could set just one user (www-data/apache, depending on your distro) as the owner of your websites' data.

    Kantsev Linux Laboratories
    t: 02071832945
    Linux server management, London UK

  5. #5
    Join Date
    Apr 2009
    Thank you all, we don't have cpanel but we have plesk, so I'll follow through with your suggestions to create a client id (basically the name of the site) for each website.

Similar Threads

  1. Replies: 127
    Last Post: 11-19-2009, 11:31 AM
  2. Virtual hosts : need help my sites are not pointing to the right document root
    By anastasia0181 in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-22-2009, 08:06 AM
  3. Are chained root ssl certificates more secure than single root?
    By evOwl in forum Hosting Security and Technology
    Replies: 0
    Last Post: 11-25-2008, 01:56 PM
  4. Replies: 0
    Last Post: 08-18-2006, 03:11 PM
  5. How can i add another root ( user with full root access) ?
    By learnerman in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-06-2005, 06:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts