
Originally Posted by
neo321
Well, I am already working on similar lines.
To share the load of my main server, I am running this second server in round-robin scheme.
First I tried this setup on this second server ...
nginx+php-fpm+mysql+bind+csf+lfd
But, it started giving me "502 bad gateway" error despite optimizations in php-fpm & nginx configuration files .
Moreover, I am losing security by using nginx as it doesn't have something like mod_security module of apache.
So, now, I am planning to moveon to this setup.
apache+mod_php+mysql+bind+csf+lfd
In this setup, I thought of adding whm/cpanel as I have never seen cpanel taking any resources while analysing performance of server. So, adding it ll give me an ease of configuring csf/lfd easily. Moreover, if sometimes ssh service fails, then it can be restarted by cpanel.