What's new

Welcome to WebForum | Zimbabwe Web Hosting Forum.

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask questions and get answers from our community

Answer

Answer questions and become an expert on all topics.

Contact us

Get in touch with the site administrator directly.

Forum Group

Join the Forum Whatsapp group for daily updates.
  • Thanks for participating in our community, Discuss and Learn. All Forum members are allowed to create threads and posts. Resources posted here should be CLEAN and SAFE. Do not post “offensive” posts, links, or images. Remain respectful of other members at all times.

Installing Nginx in cPanel

WebForum

Administrator
Staff member
Administrator
Moderator
Business
Joined
May 19, 2021
Messages
98
Reaction score
21
Points
8
Location
Bulawayo
Website
ecowebzim.com
Nginx is an alternative webserver to Apache (which is bundled with cPanel by default). It offers several performance improvements over Apache. Nginx is the second most widely used web server (Source: W3Techs). This guide assumes that you have root access to your server or VPS / Server via SSH.

Before you proceed please note that cPanel does not officially provide support for Nginx as of yet and is not a part of our Managed Services.

You will first download the package required to install Nginx. Enter the following commands from your command line:

Code:
cd /usr/local/src
 wget http://nginxcp.com/latest/nginxadmin.tar
 tar xf nginxadmin.tar
 cd publicnginx

Generate the remote access key in WHM.

Login to your WHM Interface, click on Remote Key Access under Clusters and select Generate New Key

Go back to the command line and enter the following command:

Code:
./nginxinstaller install

This will start the installation. If you get an error that says “Remote Access Key does not exist”. Generate a new key and restart the script.

Once the installation completes, Nginx will be integrated with cPanel / WHM. You can manage it from your WHM under Plugins > Nginx Admin.
 

Forum statistics

Threads
115
Messages
176
Members
89
Latest member
denzel
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top