I recently made a DigitalOcean droplet with LAMP pre-installed. Went and uploaded my website (including index.php) to /var/www
Apache just returns the It Works! page, I have to manually add /index.php to my url
Things I have tried:
- Made an .htaccess file containing "DirectoryIndex index.php"
- Adding
DirectoryIndex index.php
to apache2.conf - Set index.php first in dir.conf
- Making an index.html, didn't show that either.
EDIT: here's my apache2.conf file: http://pastebin.com/BMgiNdiD