Install Apache2 and Change Default Document Root

Published: 20 June 2021
on channel: Sultan Kautsar
6,051
58

In this quick tutorial, you’ll learn how to change the default Apache document root from /etc/var/www (default) to something else such as /home/user/public_html. This requires you to have root access to your server.

How to Install Apache2 and Change the Default Document Root?

Chapters:
0:00 Checking IP Address
0:21 Visiting IP Address in Browser
0:33 Installing Apache2
0:53 The Default Page of Apache2
1:23 How to Change Default Root
1:34 Make New Directory for Default Root
1:49 Create Configuration File to Set Default Root
2:10 Contents of The Configuration File
2:54 Applying Configuration Files
3:10 Restart Apache2 Services
3:20 Visiting Default Root in Browser
3:38 Adding Images to Test
4:01 Closing

Music:
'Dystopia' by Neutrin05 is under a Creative Commons license (CC BY 3.0)
Music promoted by BreakingCopyright: http://bit.ly/Neutrin05-Dystopia

Thank you for watching this video. Hope that helps!


Watch video Install Apache2 and Change Default Document Root online without registration, duration hours minute second in high quality. This video was added by user Sultan Kautsar 20 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,051 once and liked it 58 people.