PDA

View Full Version : How to seperate email and web hosting service into 2 servers?



giant
06-16-2004, 09:40 PM
Hi

Can anyone help on running seperate servers for web and email on the directadmin control panel.

thanks

giant

DirectAdmin Support
06-17-2004, 11:33 AM
Hello,

Might be tricky since all config files are stored locally. You could use rsync and/or a script to copy the configs to anothe machine.. but would take quite a bit of work to keep it syncronized and to get it working correctly.

John

Thafusion
06-19-2004, 08:08 AM
is it possible that a few web servers access 1 mysql server ?

ProWebUK
06-19-2004, 08:49 AM
Originally posted by Thafusion
is it possible that a few web servers access 1 mysql server ?

Yes, if you configure mysql to accept non localhost conenctions.

Chris

DirectAdmin Support
06-20-2004, 01:56 PM
You'd just have to set "host=server.hostname.com" in the /usr/local/directadmin/conf/mysql.conf file.

The next release should automatically add the hostname of the accessing server to the mysql server (instead of localhost) if the "host" value is set.

John