Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Mar 30, 2009 8:04 pm 
Offline

Joined: Sun Mar 29, 2009 6:42 pm
Posts: 1
Hi. I'm new to Linode and a bit of a n00b with server administrating but am learning lots. I've recently gotten virtual hosting working through Apache.

I'm just wondering if there is a 'standard' place to store each site's directory? If not what pathing structure do you recommend?

I have the following structue but am not sure if it's a 'best practice':

/home/<myusername>/public_html/site1.com/index.html
/home/<myusername>/public_html/site2.com/index.html
/home/<myusername>/public_html/site3.com/index.html


Top
   
 Post subject:
PostPosted: Tue Mar 31, 2009 12:00 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
In most cases, website files are placed under either /var/www or /home. In the end, it doesn't really matter. Do what seems natural for you.

If different users need to manage their own sites, you might want to consider creating some additional usernames and making each user own his/her site. But if you're managing all those sites, don't make it unnecessarily complicated.


Top
   
 Post subject:
PostPosted: Thu Apr 02, 2009 9:10 pm 
Offline
Senior Member

Joined: Mon Feb 02, 2009 1:43 am
Posts: 67
Website: http://fukawi2.nl
Location: Melbourne, Australia
Personally I use a similar structure to you, except under /srv/http/ instead of /home/username/


Top
   
 Post subject:
PostPosted: Fri Apr 03, 2009 5:10 am 
Offline
Newbie

Joined: Thu Mar 05, 2009 8:36 am
Posts: 2
Ill second fukawi2,

/srv/http/domain1.tld
/srv/http/domain2.tld


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group