Setup a Name-Based Virtual Host on Ubuntu 24.04lts using Apache2 Part 1

Published: 09 October 2024
on channel: PHP Coder USA
91
4

This tutorial covers how to build out the default virtual host created during the install of Apache2 on Ubuntu 24.04 LTS. I do it this way so I can copy the default virtual host to create another virtual host that only requires a few modifications. I will use the IP of my server which is 192.168.1.81 and a local-non-routable domain name for this tutorial. The IP address of 192.168.1.81 is a private IP address, which means it is not accessible from the Internet. I'll be using default.internal domain name. .internal is not accessible from the Internet. .internal is a local-non-routable Top Level Domain Name (TLD). By using a private IP address for my server and using .internal I can create a simple network that I run out of my home office.

Associated Article : https://www.phpcoderusa.com/setup-a-n...

About Me : Keith Smith - a Freelance PHP Programmer Turn PHP Developer Mentor.

Subscribe to my newsletter to keep up with what is going on and to find out about any special offers : https://www.phpcoderusa.com/newslette...

Visit my website : https://www.PHPCoderUSA.com/

Don't forget to Subscribe to This YouTube Channel So You Do Not Miss Any Future Videos.

My Social Media Pages:
Facebook :   / php-coder-usa-346066869165684  
LinkedIn :   / keith-smith  

#phpcoderusa