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 89,054 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

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

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

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

Related Help Content

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

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

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account
Knowledgebase Article 98,965 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 42,548 views tags: dedicated optimize vps whm

How to install ClamAV to help with virus protection.
Knowledgebase Article 60,826 views tags: antivirus clamav cpanel dedicated plugin server whm

How to install a Minecraft Server.
Knowledgebase Article 86,303 views tags: Minecraft dedicated vps

How to use the yum package mnager to install and update applications and programs.
Knowledgebase Article 77,225 views tags: dedicated vps yum

How to assign a dedicated IP to a domain on a dedicated server.
Knowledgebase Article 128,157 views tags: dedicated ip

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