Skip to main content

Posts

Setting Up Virtual Hosts In Apache HTTP Web Server On Linux-Ubuntu and Debian based distros

What is Apache Virtual Host? A virtual host allows you to run more than one website or rather multiple websites from a single machine/physical server or virtual private server. There are 2 types of virtual hosting on Apache IP-based Virtual Hosting This is where every individual website on the Apache server uses a different unique IP address. It is a method to apply different directives based on the IP address and port a request is received on. It is commonly used to serve different websites on different ports or interfaces. Using a single IP address but multiple TCP ports is also called IP-based virtual hosting. It uses the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. Name-based Virtual Hosting Many different hosts can share the same IP address. It is simpler than IP-based hosting since you only need to configure the DNS server to map each hostname to the correct IP address a

What Is The Linux Kernel? How To Check Your Version

INTRODUCTION. There are so many Linux distributions but the one thing they all have in common is the Linux Kernel. A lot of people talk about the Linux kernel but most of them don't really know what it does. Each operating system  uses a kernel without which you can't have a computer that actually works. You may see and interact with a lot of different software but it is the kernel underneath that does much of the less glamorous work. In this article, we're going to look at Linux kernel and why it is needed. What Exactly is the Linux Kernel? The Linux Kernel is the main component of a Linux operating System and is the core interface between a computer's hardware and its processes. It communicates between the two,managing resources as efficiently as possible. It is technically incorrect to refer to Linux as a complete operating system. Linux actually refers specifically to the kernel which was named after its founder Linus Torvalds. It is named the kernel b

How To Install Apache HTTP Web Server On Ubuntu

YouTube Video INTRODUCTION Apache Web Server is an open source software package. This means it can be used freely without requiring any purchases. The official name is Apache HTTP Server. It is a software package that turns a computer into an HTTP web server. This means that it sends web pages stored as HTML files to users who request them on the internet. It runs on 67% of all web servers in the world. It is fast, reliable and secure. It can be highly customized to meet the needs of different environments using modules and extensions. This guide will help you install the Apache Web Server on Ubuntu. Prerequisites A computer running Ubuntu Operating System 18.04 LTS (Bionic Beaver) Good/stable Internet Connection A user account with sudo or root privilege Tools Needed Terminal or Command line (Ctrl + Alt + T) A firewall. The default Ubuntu Firewall is okay. (UFW - Uncomplicated Firewall) The apt package manager which is installed by default on Ubuntu.

How To Start, Stop And Restart Apache Server on Ubuntu Linux

YouTube Video INTRODUCTION Apache is part of the popular LAMP (Linux, Apache, MySQL, PHP) stack of software. It is included by default in Ubuntu 18.04. This guide will show you how to start, stop and restart Apache server in Ubuntu Linux using the terminal or command line. PREREQUISITES A user account with sudo or root privileges An installed and configured Apache installation The apt package manager which is included by default Terminal window or command line Commands for Ubuntu 18.04, 16.04 and Debian 9.x commands Start Apache Web Server Use the following command to start the Apache server    sudo systemctl start apache2 Check status to see whether Apache is enabled using the following command sudo systemctl status apache2 If it is running,it should display the message active (running) as in the image below Stop Apache Web Server Use the following commands to stop the Apache Server sudo systemctl stop apache2