NGNIX installation on a VPS
  • web hosting
    Ultra-fast Sites
    Enjoy super fast website performance! We make websites fly thanks to servers that run on SSD disks and PHP 7 with OpCache. On top of that, we offer static caching and a free CDN service to further boost your website’s performance. Website Hosting CMS compare services...
  • services
    Top-notch Security
    We manage the security of your sites at server and application level. We offer free Let’s Encrypt SSL that keeps your data safe and daily backups that ensure your peace of mind. Website Hosting CMS compare services...
  • price
    Managed WordPress
    All our plans include WordPress installation, the easy and fast WP Starter site-building wizard, managed auto-updates of the core software and plugins, expert WordPress support, and more. Website Hosting CMS compare services...
  • We guide you
    Easy Site Management
    Easily manage your site built on the most popular Content Management Systems such as Joomla, Magento, WordPress, and more. Get started with our friendly Site Tools, packed with tons of features that save you time and effort. Website Hosting CMS compare services...
  • cPanel Control Panel
    Domain Management
    Enjoy the convenience of managing both your domain and site in the same place. We offer affordable domain registration and transfer services, a friendly domain management panel, DNS services, and more. Website Hosting CMS compare services...
  • Best Data Centers
    Reliable Email Service
    Create an unlimited number of email accounts with your own domain and check your email from anywhere with our friendly webmail clients. We’ve added SpamExperts to protect you from SPAM. Website Hosting CMS compare services...
  • Let us transfer your site
    Expert Hosting Support
    Our Customer Care team is among the highest-rated support squads online, fast, multi-skilled and helpful. Website Hosting CMS compare services...
  • Affordable and Powerful
    Trusted by Clients
    We are hosting 2,000,000 domains while making website owners less stressed, more productive, and hopefully just a little happier. We’re honored and humbled by the great feedback we receive from our customers on a daily basis. Website Hosting CMS compare services...
  • Money-Back Guarantee
    Money-Back Guarantee
    We do have a 30 day money back guarantee for all of our shared hosting plans and 15 days money back guarantee for cloud hosting plans. Our money back guarantee gives you peace of mind that our services will meet the expectations set out in the TOS. Website Hosting CMS compare services...

The NGINX(Pronounced “Engine X”) is a free, open-source HTTP web server and reverse proxy, as well as operates as an IMAP/POP3 mail proxy server and as a load balancer with HTTP cache server.


NGNIX installation on a Virtual Private Server (VPS)


Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet.

NGINX is known for its highly scalable,  performance, simple configuration, high stability, rich feature set,  resource-friendly, and low resource consumption. For these reasons, it is a great alternative to the more commonly used Apache webserver(third most popular Web server behind the Apache Server).

Today, we are going to discuss setting up and configuring NGNIX on a Virtual Private Server (VPS).

Prerequisites

* A non-root user with Sudo privileges configured on your server.
* SSH access to your VPS

How to install NGINX on VPS


1.
Install NGINX
with the “yum” Package manager  using the following commands:

>>yum install epel-release

>>yum install Nginx

2. Start NGINX
After installation, start the NGINX:

>>Systemctl start Nginx

3. Allow the Nginx
Check if HTTP and HTTPS ports are allowed by firewalls

>>firewall-cmd --list-all

Note: If TCP ports 80 and 443 are not listed, the allow them to the firewall using following commands

>>firewall-cmd --permanent --zone=public --add-port=80/tcp
>>firewall-cmd --permanent --zone=public --add-port=443/tcp

4. Reload the firewall

>>firewall-cmd --reload

5. Test the NGINX
To test the installation you need to use your public IP address

https://your_server_IP_address/>

6. Configure the NGINX and Boot it
The main NGINX configuration file is located at

>>/etc/Nginx/nginx.conf.

>>systemctl enable Nginx


How to Restart Nginx

Test the Nginx configuration and restart Nginx:

>>sudo Nginx -t

>>sudo systemctl restart Nginx

How to uninstall the Nginx

  1. If you want to keep config files and just want to remove the Nginx

>>sudo apt-get remove Nginx Nginx-common

  1. If you want completely uninstall the Nginx

>>sudo apt-get purge Nginx Nginx-common

That’s it! Now that you have your web server – NGINX installed successfully on a VPS!

 

 

Variety of PlatformsVariety of Platforms

3-way storage to store your VPS. This method is based on “Software Defined Storage”, it works great!

Unmatched SpeedUnmatched Speed

Achieved through advanced hardware, customized software and unique speed boosting solutions.

Multiple Server LocationsMultiple Server Locations

Deploy on a lightning-fast cloud platform with built-in redundancy to ensure reliability and availability

Advanced SecurityAdvanced Security

We have unique approach to security and keep our servers, user accounts and applications covered.

Perfect DDOS protectionPerfect DDOS protection

Our intelligent network automatically detects incoming and outgoing DDOS attacks.

Expert SupportExpert Support

Our team provides fast support, is available 24/7 and covers issues that go beyond hosting.

VPS HOSTING 

  https   Active Search Results   cloudflare

 

 

Perfect SSD based VPS SERVER - now from $5/mo.    More information
Toggle Bar