This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

VPS or Dedicated Hosting - Installing NginX

NginX is a web server and/or a reverse proxy added on top of apache, which is capable of handling connections better than apache. This can help handle high traffic to sites. Often this is installed with Varnish, as well.

Please note that Just Host does not provide technical support for the installation or usage of NginX.

You will need to make sure that you have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so. You will also need to know your Apache version. That can be found through SSH by typing httpd -v and pressing enter.



Installing NginX

To install NginX follow these steps:

  1. Login into SSH terminal.
  2. Change directories to the local source folder.
    cd /usr/local/src
  3. Download NginX to this folder.
    wget http://nginxcp.com/latest/nginxadmin.tar
  4. Extract the files from the tar file with the flag extract (x)and force(f).
    tar -xf nginxadmin.tar
  5. Change directories to the publicngix directory.
    cd publicnginx
  6. Run the install.
    ./nginxinstaller install

Uninstalling NginX

If need to uninstall Nginx follow these steps:

  1. Login into SSH terminal.
  2. Change directories to the publicnginx directory.
    cd /usr/local/src/publicnginx
  3. Run the uninstall command.
    ./nginxinstaller uninstall
Knowledgebase Article 154,078 views bookmark tags: dedicated nginx proxy reverse vps


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

VPS and Dedicated servers come with all applications necessary to run a standard web and email server. The applications that come with the VPS and Dedicated servers are generally supported as-is by our support technicians.

How to install Java in a dedicated server.
Knowledgebase Article 177,052 views tags: dedicated install java server yum

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 200,922 views tags: dedicated git install server yum

Related Help Content

If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
Knowledgebase Article 89,543 views tags: backup cpanel dedicated hosting restore server transfer vps

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)
Knowledgebase Article 173,003 views tags: caching dedicated pecl vps

How to manage the SSL used for cPanel login through the WHM
Knowledgebase Article 222,327 views tags: cpanel dedicated install login manage server ssl

To help with installing an SSL certificate for an account on a dedicated server through the WHM
Knowledgebase Article 261,156 views tags: assign dedicated server ssl whm

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account
Knowledgebase Article 178,080 views tags: dedicated passenger redmine ruby vps

How to prevent your server from freezing up or fix site performance problems on a VPS or Dedicated
Knowledgebase Article 106,758 views tags: dedicated optimize vps whm

CSF is a firewall for VPS and Dedicated servers. CSF is not installed as part of our default images on VPS or Dedicated servers. This article describes how to install it yourself or request support do so.
Knowledgebase Article 90,495 views tags: configserver csf dedicated firewall security vps

How to install a Minecraft Server.
Knowledgebase Article 165,242 views tags: Minecraft dedicated vps

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.