I just installed ubuntu 16.04 server, and moodle 3.1. I suspect this is a mistake: I copied everything of moodle into /var/www/html, instead of into /var/www. My suspect comes from the fact that http://siteaddress will show the default apache page; while http://siteaddress/index.php will show the moodle login page; however, after login I see the apache default page again.
Any quick fix?