I have the following problem
My hosts file is as follows:
127.0.0.1 localhost
127.0.1.1 barbala4o-HP-ProBook-4530s
127.0.1.1 mysite.local
Just a note for people pulling out their hair about this topic, you'll need to use sudo for all of these settings to take place if you're using an AWS instance.
sudo a2ensite example.com
Keep in mind you need to do this for even restarting apache. If you don't see your changes taking place, this is likely the culprit.
sudo service apache2 restart