Apache2

So just do a

sudo nano /etc/apache2/sites-available/000-default.conf
and change the following line to what you want:

DocumentRoot /var/www/html
Also do a

sudo nano /etc/apache2/apache2.conf
and find this:

<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>