Raspberry Pi | Linux: Changing Apache Default Directory

Published: 23 May 2024
on channel: Arcade Spinner
65
2

Need to change the Apache default page on Linux or a Raspberry Pi? Or have multiple domains or sub-domains on an Apache HTTP Server? I walk through how you can update the Apache virtual host configuration file(s) to point or redirect your visitors to different paths on your Apache web server.

=== Commands Used ===
Change directory to Apache sites-available: cd /etc/apache2/sites-available
Open/modify the default sites available file: sudo nano 000-default.conf
Open/modify the Apache2 configuration file: sudo nano /etc/apache2/apache2.conf
Restart Apache HTTP Web Server: sudo /etc/init.d/apache2 restart

#linux #raspberrypi #raspberrypi5 #raspberrypiprojects #raspberrypi4


On this page of the site you can watch the video online Raspberry Pi | Linux: Changing Apache Default Directory with a duration of hours minute second in good quality, which was uploaded by the user Arcade Spinner 23 May 2024, share the link with friends and acquaintances, this video has already been watched 65 times on youtube and it was liked by 2 viewers. Enjoy your viewing!