Results 1 to 5 of 5
Thread: Hosting our own sites as root
-
06-01-2011, 12:28 PM #1Aspiring Evangelist
- Join Date
- Apr 2009
- Posts
- 360
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 #2Russ
- Join Date
- Mar 2002
- Location
- Philadelphia, PA
- Posts
- 2,517
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 #3Cable Director
- Join Date
- Aug 2007
- Location
- Datacenter
- Posts
- 4,414
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.» www.InstantDedicated.com - Online in no time
» Dedicated Servers in [EU] Netherlands + Belgium with DAILY support, also on weekends
» 3.2 Tbit/s Network AS49453 with only 100 Gbit/s uplink backbone
» 1G/10G/40G/100 Gbit ports available | 99,99% Network Uptime goal
-
06-01-2011, 01:03 PM #4Junior 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 #5Aspiring Evangelist
- Join Date
- Apr 2009
- Posts
- 360
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
-
server.lu , root.lu , vserver.lu , or root eSolutions - anyone have info/reviews ?
By jimmy_wht in forum Dedicated ServerReplies: 127Last Post: 11-19-2009, 11:31 AM -
Virtual hosts : need help my sites are not pointing to the right document root
By anastasia0181 in forum Hosting Security and TechnologyReplies: 3Last Post: 05-22-2009, 08:06 AM -
Are chained root ssl certificates more secure than single root?
By evOwl in forum Hosting Security and TechnologyReplies: 0Last Post: 11-25-2008, 01:56 PM -
All Myspace Sites / Arcade Sites / Proxy Sites / File and Image Hosting Sites
By nash123 in forum Advertising OffersReplies: 0Last Post: 08-18-2006, 03:11 PM -
How can i add another root ( user with full root access) ?
By learnerman in forum Hosting Security and TechnologyReplies: 7Last Post: 06-06-2005, 06:42 PM