hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Hosting our own sites as root
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Hosting our own sites as root

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-01-2011, 12:28 PM
manhal manhal is offline
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?

Reply With Quote


Sponsored Links
  #2  
Old 06-01-2011, 12:51 PM
viGeek viGeek is offline
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.

__________________
Linux junkie | @ Wildbit Philadelphia, PA
Creators of: Beanstalkapp.com & Postmarkapp.com

Reply With Quote
  #3  
Old 06-01-2011, 12:58 PM
24x7group 24x7group is offline
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, ...

Reply With Quote
Sponsored Links
  #4  
Old 06-01-2011, 01:03 PM
kantsev kantsev is offline
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

__________________
Kantsev Linux Laboratories
t: 02071832945
w: kantsev.com
Linux server management, London UK

Reply With Quote
  #5  
Old 06-01-2011, 01:19 PM
manhal manhal is offline
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.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
server.lu , root.lu , vserver.lu , or root eSolutions - anyone have info/reviews ? jimmy_wht Dedicated Server 127 11-19-2009 11:31 AM
Virtual hosts : need help my sites are not pointing to the right document root anastasia0181 Hosting Security and Technology 3 05-22-2009 08:06 AM
Are chained root ssl certificates more secure than single root? runssl Hosting Security and Technology 0 11-25-2008 01:56 PM
All Myspace Sites / Arcade Sites / Proxy Sites / File and Image Hosting Sites nash123 Advertising Offers 0 08-18-2006 03:11 PM
How can i add another root ( user with full root access) ? learnerman Hosting Security and Technology 7 06-06-2005 06:42 PM

Related posts from TheWhir.com
Title Type Date Posted
SSHD Rootkit in the Wild Blog 2013-02-22 16:44:08
Web Host Milesweb Launches Dedicated Server Hosting in India Web Hosting News 2012-12-31 10:53:51
Netcraft Finds Bank, Government, Web Host Sites Using Vulnerable MD5-Signed SSL Certificates Web Hosting News 2012-09-04 15:50:45
CloudLinux Improves Virtualized File System for Shared Web Hosts Web Hosting News 2012-05-30 15:17:05
Apache Gains Most Sites in November Netcraft Web Server Survey Web Hosting News 2011-11-08 21:55:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?