Go through the website development library.
Change the web root from /html/ to /public/ (for laravel):
sudo nano /etc/apache2/sites-enabled/000-default.conf
change all /html/ to /public/
If the app only works through url.com/index.php/route (with index.php) make sure to allow override:
Then allow override and restart the server:
sudo a2enmod rewrite sudo service apache2 restart