I try to setup a virtual host besides the default localhost. Whenever I try to call my virtual host http://test I get the default Apache2 Index file t
localhost
http://test
Just pointing this out that may be obvious for experienced users, but not so much if you're a first timer.
Make sure that the config you're using in /sites-enabled ends with a .conf as expected in your apache2.conf
/sites-enabled
.conf
apache2.conf
That was my problem and it fixed it.