How to Create an Apache 2 Virtual Host on Debian 9 Stretch Easy Guide

July 21, 2019 | By thelinuxevangelist | Filed in: Tutorial.

Making Apache2 Virtual Host for Debian 9

You are Welcome! The Tutorial Shows You Step-by-Step How to Create an Apache 2 Virtual Host in Debian Stretch 9 32/64-bit GNU/Linux Desktop/Server.

And the term Virtual Host refers to the Practice of Running more than One Web Site (such as company1.example.com and company2.example.com) on a Single Machine.

Virtual Hosts can be:

  • Name-based“, meaning that you have Multiple Names running on each IP address
  • IP-based“, meaning that you have a Different IP Address for Every Web Site

The fact that they are Running on the Same Physical Server is Not Apparent to the End User.

How to Create an Apache 2 Virtual Host on Debian 9 Stretch - Featured

How to Create a Name-based Virtual Host on Linux Debian

  1. 1. Launching Terminal

    Or Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    How to Create an Apache 2 Virtual Host on Debian 9 Stretch - Open Terminal

    Or Login into Server Shell.

    How to Install LAMP Server on Debian

    LAMP Server Installation Debian

Contents


Tags: , , , , , , , , , , , , , , , ,