apache server root directory change code example
Example: apache2 change directory root
go to /etc/apache2/sites-available/000-default.conf
Change here:
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>