VPS or Dedicated Hosting - Installing NginX
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster 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 HostMonster 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,946 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 175,874 views tags: dedicated install java server yum

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 199,805 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 88,072 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 171,926 views tags: caching dedicated pecl vps

How to manage the SSL used for cPanel login through the WHM
Knowledgebase Article 221,288 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 260,024 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 176,850 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 105,355 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 89,083 views tags: configserver csf dedicated firewall security vps

How to install a Minecraft Server.
Knowledgebase Article 162,822 views tags: Minecraft dedicated vps

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