Ultimate hosting server setup

I'm currently configuring a clean RH9 machine as the 'ultimate hosting server'. The idea being it runs itself.

It's gonna run Apache, MySQL, PHP, PostFix, ProFTPd, OpenSSL, ModSSL with pop, ftp and web based authentication being controlled by a central mysql database. PostFix and ProFTPd support authentication via mysql.

There's also a nifty little tool allowing system password authentication to be done via MySQL (http://libnss-mysql.sourceforge.net/) that I might add in.

I'm fully capable and happy to develop a proprietory support system that allows a new customer to create a client account, set up web space, create pop/ftp users, etc...

Apache configuration will probably be done using mod_rewrite and a lookup table (file) to avoid having to modify apache conf on the fly and restart apache for every new host.

My questions are:

1. Has anyone been through this/considered this and have any thoughts, comments or suggestions about either the setup/configuration or support site coding?

2. Can you see a flaw in using mod_rewrite to emulate the virtualhosts? Will it be too processor intensive?

3. Anyone know how to emulate/configure the virtualhosts from mysql or some other way I haven't thought of yet?

Another thing I'm trying to work out is how to have separate log files for separate FQDNs given that the mod_rewrite method will mean one real virtualhost, hence one log file statament, but I might get around that problem with a utility similar to cronolog.

Cheers
Ben

 

 

 

 

Top