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.
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.
Allow ftp access to guests of the website owners.
Hosting mail server for each website owner with multiple users allowed for each domain name.
So far I have apache and vsftp (working on postfix for now) working using actual local usernames for each website.
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,