LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 08-11-2009, 05:56 AM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 288
Thanked: 1
Advice: Best practices for multiple small website hosting.


[Log in to get rid of this advertisement]
Hello Everyone,

I have a server running that is hosting less than 10 websites for friends and myself. I'm doing this mostly for the challenge and to learn as much as I can.

I want to know some best practices in how to achieve my goals.

Goals:

Host several very small bandwidth websites (maybe 10 at most) from my home server.

Allow ftp access to a primary website for the website owners to access their sites.
ie: ftp.webhost.com

Allow ftp access to guests of the website owners.
ie: ftp.personalsite1.com
ie: ftp.personalsite2.com
etc...

Hosting mail server for each website owner with multiple users allowed for each domain name.
mail.webhost.com
mail.personalsite1.com
mail.personalsite2.com
etc...

So far I have apache and vsftp (working on postfix for now) working using actual local usernames for each website.
ie:
username: personalsite1
website: www.personalsite1.com
ftp: not matching up to my ideal plan. Anyone could connect to ftp server through any domain that pointed to the server.
ie: ftp.personalsite1.com = ftp.personalsite2.com = ftp.webhost.com

All those domains point to the exact same machine and since I'm using local accounts any users could connect to their personal ftp from any of the domains pointed to that machine.



My big question: Is there a better "smarter" way to arrange this? Does anyone have any recommendations or adivce for me?

Thanks for taking your time,
checkmate3001
checkmate3001 is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 08-11-2009, 06:16 AM   #2
EricTRA
Member
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: Slackware 13, Ubuntu 9.04,Debian 32 + 64, AIX 5.3, RHEL5, LFS, BackTrack4
Posts: 938
Thanked: 99
Hi Checkmate3001,

I'd advice you to install and configure something like ISPConfig. That's an OpenSource control panel for webhosting services and works perfect.

ISPconfig

And on this website you can find various howtos explaining the complete installation and configuration.
HowToForge

Kind regards,

Eric
EricTRA is offline     Reply With Quote
Old 08-17-2009, 04:24 AM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 288
Thanked: 1

Original Poster
Thank you. ISPConfid

Thank you for your advice. I read up on ispconfig. It looks very promising. However, I noticed that it recommends to start with a fresh system, newly installed, with a default system.

I don't really want to start all over. I instead want to continue to work with what I have and find better ways to use what I have.

After looking more into ispconfig I decided to install pure-ftp in place of vsftp. I really like vsftp for its security, but it really doesn't have a rich feature set nor is it very adaptable.

So far I am liking pure-ftp because it does offer support for virtual users and it has a very large number of options to fine-tune it how you want. The only down-side is that it was a very strange way to confiure it with a number of small files in different directories with text inside to define different options, as opposed to one or a few conf file(s).

So far so good.

Thank you,
checkmate3001
checkmate3001 is offline  
Tag This Post
Reply With Quote

Reply

Bookmarks


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver installation: General advice and best practices alanhr Linux - Hardware 5 08-19-2008 06:49 AM
Website Hosting ayush1440 Linux - Server 2 05-05-2008 07:40 AM
hosting a website jitheshmurali Linux - Networking 2 04-24-2006 02:50 PM
website hosting jkmartha Linux - Newbie 1 05-06-2005 05:01 AM
multiple website hosting matneyc Linux - Newbie 4 12-20-2004 04:21 PM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration