The NIGIX Admin is integrated with Cpanel, this plugin increases your server speed and managing load balance. The NGINX admin can manage in your WHM panel its protest from DDOS attack.

At present, let us set out to install the NGINX Admin, download the package using wget command and install it

# cd /usr/local/src

# wget http://nginxcp.com/latest/nginxadmin.tar

# tar xf nginxadmin.tar

# cd publicnginx

# ./nginxinstaller install

You may receive a warning message while installing
 
# ./nginxinstaller install
access key doesn't exist

Go to WHM > Cluster/Remote Access > Setup Remote Access Key
and click on the Generate New Key button
 
# ./nginxinstaller install

/usr/local/src/publicnginx
Welcome to the Nginx Admin installer......Starting Install
Please Wait .......
^[[BGenerating vhosts...
Installing WHM interface...
Installing mod_remoteip...
Updating cPanel Configuration
 Reading Apache Configuration
 updating Apache configuration
 ****************************************************
 *               Installation Complete              *
 *run /etc/init.d/httpd restart to start Nginx Admin*

Note : After installing it the HTTPD port will be switched to 8081 and NGINX port
pointing to 80
 
# /etc/init.d/nginx start
Starting nginx daemon: nginxnginx: [emerg] unknown "no_cache" variable
 already running.

solution :

The NGINX does not starting which means may have server without a single account in WHM. So login into
your WHM Panel to create a new account  and restart NGINX.
 
root@host [/usr/local/src/publicnginx]# /etc/init.d/httpd start
Starting nginx daemon: nginxRemaining processes: 9917

NGINX PATH's:

Its installed under  :  /etc/nginx
Configuration File  : /etc/nginx/nginx.conf
Virtual Host          : /etc/nginx/vhost/domains.com
Access Log File   : /var/log/nginx/access.log
Error Log File       : /var/log/nginx/error.log
Virtual Host Log   : /usr/local/apache/logs/ad...
Nginx Admin Uninstall instruction:
#  cd /usr/local/src
#  wget http://nginxcp.com/latest/nginxadmin.tar
# tar xf nginxadmin.tar
# cd publicnginx
# ./nginxinstaller uninstall

If you require to configure NGINX for domain in Vhost can be done in  /etc/nginx/vhost/domain.com.