Ubuntu 16.10 LAMP Server Install Tutorial
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/ Modify – nano/etc/apache2/mods-available/dir.conf to include index.php at the beginning. service apache2 restart Setting up VHosts / mkdir public_html then mkdir -p public_html/domain2.com/{public,private,log,cgi-bin,backup} Setup VHosts – https://support.rackspace.com/how-to/set-up-apache-virtual-hosts-on-ubuntu/ https://askubuntu.com/questions/617190/how-to-setup-apache2-virtualhosts-on-your-home-directory-on-ubuntu-14-04 apache2.conf