Loading, please wait...

How To Create Virtual Host On Linux Server

How To Create Virtual Host On Linux Server Apache & Nginx

In this video, we will go through the configuration of virtual hosts for both Apache and Nginx web servers. We will start by configuring Nginx virtual host from scratch to forward calls coming from a specific domain (fake or real domains) to a website or web application.

Then we configure Apache virtual host for doing the same thing. I try to keep the process as simple as possible so it's understandable for everybody that are new to Linux commands and Linux server configuration. We try to use a virtual machine to install the Linux box (Ubuntu in this case) and do all the configurations in that virtual server. Hope everybody enjoys and learns a ton and this will be a good start for their career as DevOps or Linux Sysadmin, or just get a better understanding of web applications' simple deployment process.