Bluehost 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 Bluehost 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 152,931 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 Hosting: Third Party Applications

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.

VPS or Dedicated Hosting - Installing Java

How to install Java in a dedicated server.

VPS or Dedicated Hosting - Installing Git

This is a tutorial on how to install Git onto the server.

Related Help Content

VPS and Dedicated Hosting: Restore or Transfer cPanel

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.

VPS or Dedicated Hosting - Installing PHP APC

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)

VPS or Dedicated Hosting - Manage Login SSL Certificates

How to manage the SSL used for cPanel login through the WHM

VPS Dedicated Installing SSL

To help with installing an SSL certificate for an account on a dedicated server through the WHM

VPS or Dedicated - Installing and using RoR with Passenger

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account

VPS or Dedicated - Site Performance Essentials + Tips

How to prevent your server from freezing up or fix site performance problems on a VPS or Dedicated

VPS and Dedicated Hosting: ConfigServer Security and Firewall

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.

VPS or Dedicated Hosting - Install a Minecraft Server

How to install a Minecraft Server.