LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-11-2009, 05:56 AM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
Advice: Best practices for multiple small website hosting.


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
 
Old 08-11-2009, 06:16 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
Old 08-17-2009, 04:24 AM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Original Poster
Rep: Reputation: 32
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
 
  


Reply

Tags
apache, hosting, mail, postfix, pureftp, vsftp, web, website


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration