Based on https://www.howtoforge.com/community/threads/apache-serving-wrong-vhost.85620/page-2#post-412501