
06-01-2011, 12:28 PM
|
|
Aspiring Evangelist
|
|
Join Date: Apr 2009
Posts: 351
|
|
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?
|

06-01-2011, 12:51 PM
|
|
Russ
|
|
Join Date: Mar 2002
Location: Philadelphia, PA
Posts: 2,496
|
|
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.
|

06-01-2011, 12:58 PM
|
|
Web Hosting Master
|
|
Join Date: Aug 2007
Location: Alblasserdam
Posts: 2,773
|
|
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.
__________________
█ Instant Dedicated - Europe ( The Netherlands) + Las Vegas ( USA) : Get online, in no time! IPV4 + IPV6 Support!
█ TIER 3 datacenter (Europe) with 100% power uptime in 2012-2013 | TIER 4 datacenter (USA) with 100% Guaranteed Uptime
█ Connectivity: Transit: Level3, Telia, NTT, TInet, ... + Peering: AMS-IX, DE-CIX, LINX, PLIX, ECIX, BNIX, BIX, NYIIX, ...
|

06-01-2011, 01:03 PM
|
|
Junior Guru Wannabe
|
|
Join Date: May 2011
Location: London, UK
Posts: 32
|
|
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.
Veselin
|

06-01-2011, 01:19 PM
|
|
Aspiring Evangelist
|
|
Join Date: Apr 2009
Posts: 351
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|