How to Change /var/www/html Document Root in Apache

preview_player
Показать описание
Learn how to change the default document root on your Apache web server from /var/www/html to another directory with the DocumentRoot.

Check out my vlog channel @TonyFlorida

#apache2 #documentroot
Рекомендации по теме
Комментарии
Автор

Loved your video and your smile! Subbed just coz of your calm and peaceful way of teaching.

afiasheikh
Автор

Thanks for the tutorial! It gives me a Forbidden error, tried to search up on google but I just found people with the same problem and no solutions. Any idea?

franzageek
Автор

Hello. There is no available-sites folder. Fedora. Please help

mousinahanger
Автор

Muito obrigado! Me ajudou muito na minha prova, graças a você! Continue com o ótimo trabalho prestado à comunidade, por mais simples que seja, ajudou muito várias pessoas! Obrigado!

LuizFelipe
Автор

i changed location but
page show this
FORBİDDEN
you dont have permission to access this resoruce . apache/2.4.57 raspbian server at localhost port 80 .

i am working on this hours. i am very tired and bored.

Ard
Автор

HELP!!! i am configuring my documentRoot to be on my /mnt/disk1 where disk1 is a secondary disk which has ntfs partition, i have tried alot of solution but i am still not able to fix it, it gives me forbidden error

icetmzz
Автор

Hi, thank you for making the video first.I am doing the excatly same way you did, but it is still on /var/www/html.It is very strange, i try all the ways i can found on the internet but no luck.By the way, i am on debian11 and apache 2.4.52.
If i change the path in /etc/apache2/apache2.conf, it goes like this 'You don't have permission to access this resource.'
I can see some guys have the same problems as mine, but don't have solution.
If you could figue it out, very appreciate

greggho
Автор

Sir how to redirect our IP so it will be accessing index.html

markzckrbrengsek
Автор

Hi, nice tutorial but ii shows me a fobidden error

jefreytv
Автор

I build the web proxy apache, but through the proxy the .css .js files are very slow and especially can't load .gif files. Do you have a solution to this ?! Thanks in advance ! I use Centos 8 and Apache 2.4.37

Vinhtran-hwpt
Автор

How do I change to my site...I have my site loading Apache2 Debian Default Page....

systemscliqs
Автор

Your mouth and hands are just moving at the same time. Very difficult for a newbie

confidencenwanyanwu
Автор

hello nice video can you help me please?

passepartout
Автор

mkdir: cannot create directory ‘test’: Permission denied

youness
Автор

apache2AH00112: Warning: DocumentRoot does not exist

bigid