Install PHP 7.1 with Nginx on Ubuntu 16.04

Install PHP 7.1 with Nginx on an Ubuntu 16.04 VPS
We’ll show you how to install PHP 7.1 with Nginx on Ubuntu 16.04. PHP 7.1 comes with many new features and improvements and as a result of this many developers are using it for their projects. Installing  PHP 7.1 with Nginx on an Ubuntu 16.04 VPS, is an easy task, just follow the steps below and you should have it done in a few minutes.

For more updates, you can also consider reading our post on how to install PHP 8 on Ubuntu 20.04

Read More

Install WordPress with Varnish and Nginx on Ubuntu

Install WordPress with Varnish and Nginx on Ubuntu

We’ll show you how to install WordPress with Varnish and Nginx on Ubuntu.  Varnish is a web application accelerator. It redirects the visitors to static pages whenever it is possible. Varnish can be installed and configured to cache the content in front of any HTTP server and it can speed up the delivery up to 300-1000 times.

In this tutorial, we will show you how to increase the loading speed of your WordPress site by setting up Varnish in front of Nginx on an Ubuntu 16.04 server. We assume that you already have LEMP stack (Nginx, MySQL, and PHP) and WordPress installed on your Ubuntu 16.04 server.

Read More

How to Install LEMP on Ubuntu 16.04

How to Install LEMP on Ubuntu 16.04

We’ll show you, how to install LEMP on Ubuntu 16.04. LEMP stack (Linux, Nginx, MySQL, PHP) should not be confused with the popular LAMP stack (Linux, Apache, MySQL, PHP) . This tutorial is for the LEMP (Nginx) stack and it’s commonly used on Ubuntu 16.04 servers. Installing LEMP on Ubuntu 16.04, should not take more then 10 min. Let’s start with the installation of LEMP on Ubuntu 16.04:

Read More

How to Redirect HTTP Traffic to HTTPS in Nginx and Apache

http to https

We will show you how to redirect HTTP traffic to HTTPS in Nginx and Apache. You should always use HTTPS instead of HTTP to protect your website, even if it doesn’t handle sensitive communications. The main reasons to use HTTPS are:

  • Security – this is the main and most important reason to use HTTPS,  all communications between the visitor’s browser and the website are encrypted.
  • SEO Google uses HTTPS as a ranking signal, which means that if your website is using HTTPS it may get a certain boost in Google rankings.
  • Browser warnings –  if you are not using HTTPS, Google Chrome and other browsers will flag your site as “Not Secure”.
  • Trustworthiness – people usually trust a website much more if they have an SSL certificate.

To use HTTPS, you’ll need an SSL Certificate. You can get a VPS from us and we’ll install the certificate for you and properly configure Nginx/Apache to redirect all traffic to HTTPS, free of charge.

Read More

How to secure LEMP stack

How to secure LEMP stack

We’ll show you, how to secure LEMP stack. LEMP, it stands for Linux, (EngineX) NGINX, MariaDB (or MySQL) and PHP. Due to its flexibility and simplicity, NGINX slowly takes over the Internet. In this tutorial, we will attempt, through examples of bad and good practices, to go through the steps of properly securing your Linux web server. So what is the term Security? Often you can hear the IT Engineers saying “Our network is secure” or “Our servers are secure” however, those sentences although widely used are technically not correct, as in many books and publications you can find that Security as a term is not a static value, but rather a degree. From Wikipedia the definition is:
“Security is the degree of resistance to, or protection from harm. It applies to any vulnerable and/or valuable asset, such as a person, dwelling, community, item, nation, or organization.”
In terms of servers or applications, one should always be aware that the more secure their server or application is, the less accessible it becomes (it is harder to be accessed).

Of course, the best example for this is the proverb:
“The most secure server is the one that is switched off.”.

As ridiculous as it may sound, this is occasionally practiced by some organizations today, where their most secure servers are kept offline and/or in totally closed networks and are powered on only when they need to be.

Read More

How to Enable HTTP/2 in Nginx on Ubuntu and CentOS

How to Enable HTTP/2 in Nginx on Ubuntu and CentOS

QWe’ll show you, how to enable HTTP/2 in Nginx on Ubuntu and CentOS. HTTP/2 is a major revision of the HTTP network protocol and it focuses on performance improvements. Its goal is to reduce the latency as well as to make the web applications faster by allowing multiple concurrent requests between the web browser and the server across a single TCP connection. In this tutorial, we are going to show you how to enable HTTP/2 in Nginx on a Linux VPS using Ubuntu or CentOS as an operating system. If you use Apache, you can check our tutorial on how to enable HTTP/2 in Apache on Ubuntu.

Read More