Tutorial Install Nginx Directadmin

Tutorial Install Nginx Directadmin, why choose Nginx webserver and increase the performance ?
Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Unlike traditional servers, Nginx doesn’t rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but more importantly, predictable amounts of memory under load.

Nginx powers several high-visibility sites, such as WordPress, Hulu, Github, Ohloh, SourceForge and TorrentReactor.

lets begin, tutorial how to install nginx on your directadmin server

1. You must have CustomBuild 2.0.  If you do not, you can upgrade to CustomBuild 2.0
check your custombuild version

If you still using Custombuild 1.x you can upgrade like this

if you have custombuild 2.x. Run the following to set the options.conf to use Nginx and php-fpm, here is command switch apache to nginx webserver directadmin :

you may need restart nginx directadmin with this command :

Nginx is a high performance webserver as a replacement for Apache.
However, the higher performance will come at the cost of a slightly reduced feature set, and requires CustomBuild 2.0, and the php mode to be php-fpm.

if you need install wordpress and using custom permalinks you use this tutorial how to setup wordpress permalinks + directadmin + nginx

Leave a Reply

Your email address will not be published. Required fields are marked *