apache

Complete Guide to Setting Up an Apache Reverse Proxy for an Ecommerce Website

Complete Guide to Setting Up an Apache Reverse Proxy for an Ecommerce Website

This article provides a complete guide to setting up an Apache reverse proxy for an ecommerce website. We will provide a start-to-finish guide for installing all required software, configuring your reverse proxy and installing the SSL certificate that is necessary for any Ecommerce store. Let’s begin! Introduction Setting up an Apache reverse proxy is a […]

Complete Guide to Setting Up an Apache Reverse Proxy for an Ecommerce Website Read More »

Get a list of all virtual hosts which are defined in all apache configuration files

Get a list of all virtual hosts which are defined in all apache configuration files

Have you ever looked in the apache config files to see where a website’s virtual host is defined? The apache2ctl script has a useful option that could come in good here. When you execute the command, it should look like this: apache2ctl -S You’ll obtain a list of all virtual hosts and default servers in

Get a list of all virtual hosts which are defined in all apache configuration files Read More »

Redirect a subdomain in apache and keep the url in the address bar

Redirect a subdomain in Apache and keep the URL in the address bar

This tutorial shows you how to use redirect rules in the Apache web server. If you want to redirect a subdomain like sub.domain.tld into a subdirectory of the website and keep the original URL in the browser location bar, you may use the following apache directive. RewriteEngine on RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC] RewriteRule ^/(.*)$ /sub/$1

Redirect a subdomain in Apache and keep the URL in the address bar Read More »

Redirect domains without www (e. G. Domain. Com) to www. Domain. Com with apache rewrite rules

Redirect domains without www (e.g. domain.com) to www.domain.com with apache rewrite rules

If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them. RewriteEngine On RewriteCond %{HTTP_HOST} !^www RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R] The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use

Redirect domains without www (e.g. domain.com) to www.domain.com with apache rewrite rules Read More »

Installing lighttpd with php (php-fpm mode) and mysql or mariadb on ubuntu 15. 04

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04 Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an Ubuntu 15.04 server with PHP support (through PHP-FPM) and MySQL. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04 Read More »

Protecting apache server from denial-of-service attacks

Protecting Apache Server From Denial-of-Service Attacks

Protecting Apache Server From Denial-of-Service Attacks Denial-of-Service (DoS) attack is an attempt to make a machine or network resource unavailable to its intended users, such as to temporarily or indefinitely interrupt or suspend services of a host connected to the Internet. A distributed denial-of-service (DDoS) is where the attack source is more than one–and often

Protecting Apache Server From Denial-of-Service Attacks Read More »

How to install laravel on ubuntu 16. 04 vps

How To Install Laravel on Ubuntu 16.04 VPS

How To Install Laravel on Ubuntu 16.04 VPS With this tutorial, you will start from a clean Ubuntu 16.04 install, set it up to run Laravel, and end up with a demo Laravel application installed. Other articles in this series will show you how to set up the database and Laravel environment, and then how

How To Install Laravel on Ubuntu 16.04 VPS Read More »

How to replace apache with nginx on ubuntu 18. 04

How to Replace Apache with NGINX on Ubuntu 18.04

NGINX is the modern web server founded by computer software engineer Igor Sysoev in the year 2004. NGINX is used by the most busiest and high traffic website. NGINX works out of box with the most major web stacks including LEMP (Linux, NGINX, MySQL, PHP) stack. This tutorial assumes that your website is hosted with

How to Replace Apache with NGINX on Ubuntu 18.04 Read More »

How to secure apache with let’s encrypt ubuntu 16. 04

How to Secure Apache with Let’s Encrypt Ubuntu 16.04

  In this tutorial, we will examine how to secure Apache with Let’s Encrypt for the Ubuntu 16.04 operating system.   We will first examine an overview of Let’s Encrypt, certificate authorities, and then dive into a step by step guide to install & configure Let’s Encrypt on your Ubuntu 16.04 VPS servers and the review how

How to Secure Apache with Let’s Encrypt Ubuntu 16.04 Read More »