I am trying to change the DocumentRoot on Apache in Ubuntu. I want that the main folder will be a directory with the path /var/something instead of /var/www.
I tried it going to the directory /etc/apache2/sites-available and modifying the property DocumentRoot from the file 000-default.conf from DocumentRoot /var/www to DocumentRoot /var/something but nothing changed. I still see the file that I have as default for the directory /var/www.
I also tried doing the same with the 000-default.conf file on the directory /etc/apache2/sites-enabled and also modifying both at the same time but the result it is the same.
Am I modifying the wrong file or the wrong property?
Thanks in advance!