Redis is an in-memory data store commonly used for caching, session storage, message queues, and high-performance database operations. Many PHP applications such as WordPress, Laravel, Magento, and custom web applications use Redis to improve performance and reduce database load. This guide explains how to install and enable the Redis PHP… Continue Reading Enable redis module on php – nginx webserver

Varnish is a web application accelerator that can be used as a caching layer in front of a web server. In this setup, Varnish listens on port 80 and forwards requests to the backend web server. This guide explains how to configure Varnish with Nginx as the backend web server… Continue Reading Install Varnish on Ubuntu 16

Introduction Deploying applications to multiple servers manually using FTP or SFTP can be time-consuming and difficult to manage. AWS CodeDeploy helps automate application deployments to Amazon EC2 instances and other supported environments. In this guide, we will set up AWS CodeDeploy on an Ubuntu/Linux server and deploy application code from… Continue Reading How to Set Up AWS CodeDeploy on Linux

In many scenarios, we may not want a particular page or directory to be accessed by unauthorized users or crawled by bots. Nginx provides an option to restrict access to specific directories using password authentication. This guide explains how to configure a password-protected page on an Nginx web server running… Continue Reading Enable the authorization (password-protected) page on Nginx (Ubuntu).

Introduction When an Apache web server is placed behind a load balancer, Apache may record the load balancer’s IP address instead of the actual client IP address in the access logs. This can make troubleshooting, monitoring, and security analysis difficult. This guide explains how to configure Apache 2.4 to log… Continue Reading Enable remote IP address logging on apache2 behind load balancer

Introduction This guide explains how to install Apache 2.4 and PHP 5.6 on Ubuntu 16.04. Since Ubuntu 16.04 does not provide PHP 5.6 as the default PHP version, an additional PHP repository is required. This setup is useful for applications that depend on PHP 5.6 for compatibility. Prerequisites Before starting… Continue Reading Install apache 2.4, php5.6 on Ubuntu 16.04

Hosting multiple websites on a single NGINX server is a common requirement for development, staging, and production environments. NGINX uses server blocks (virtual hosts) to serve different websites based on the requested domain name. This guide explains how to configure multiple domains on a single Ubuntu server running NGINX. Prerequisites… Continue Reading Configure multiple domains(virtualhost) on nginx webserver

Introduction: Nginx is the fastest webserver when compared to Apache. In this post, we are gonna explain on how to secure your website using SSL certificate on ubuntu 16.04. Prerequisites Implementation: This post assumes that nginx is installed on /etc/nginx directory. If nginx is installed on different directory then you may need… Continue Reading Install SSL Certificate on Nginx Ubuntu 16.04

Introduction Website performance plays an important role in providing a fast and smooth user experience. Static files such as CSS, JavaScript, images, and fonts can increase page load time if they are not properly optimized. Nginx provides built-in features such as Expires headers and Gzip compression that can help reduce… Continue Reading Enable Expires Headers, gzip compression on nginx

Introduction This document provides a step-by-step guide for installing and configuring Nginx, PHP 7.0, PHP-FPM, and MariaDB on an Ubuntu 16.04.1 server. The setup is intended to provide a complete web application environment where Nginx acts as the web server, PHP-FPM processes PHP applications, and MariaDB provides database services. The… Continue Reading Install Nginx, Php, MariaDB on Ubuntu 16.04.1