Hi
I've got a similar problem, that I'm not sure is covered by your blog post.
I have got 3 possible domains, and one alias, everything was working fine, apache/mod_wsgi served the correct content for the appropriate URL. However, I decided to clever (which is what *always* leads to my downfall) and added HTTPS to one of my domains. In the process I had a problem where the ACME client provided by letsencrypt had issues caused by it copying the *80 virtual hosts verbatim, therefore creating several mod_wsgi instances (one for each vhost) with the same name.
I found a SO post that suggested I switch to mod_wsgi as a global for the site, which fixed the issue, but now when I access one of the domains, the content from the default is loaded.
So the problem URL is
git.mydomain.com,
myotherdomain.nz is *fine*; I suspect because of the WSGIProcessGroup directive.
As I type this out I am wondering if the solution is to go back to an individual mod_wsgi process per vhost, but name each one differently, eg. https_mydomain and http_mydomain
##### Apache Conf file #####
LogFormat "%v - %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined-vhost
WSGIApplicationGroup %{GLOBAL}
WSGIRestrictEmbedded On
WSGIScriptAlias / /var/www/vhosts/mydomain/mydomain/wsgi.py
# adjust the following line to match your Python path
WSGIDaemonProcess
mydomain.com processes=2 threads=15 display-name=%{GROUP} python-home=/var/www/vhosts/mydomain/venv/lib/python2.7
<VirtualHost *:80>
DocumentRoot /var/www/vhosts/mydomain
CustomLog /var/log/apache2/mydomain.log combined-vhost
<directory /var/www/vhosts/mydomain>
AllowOverride none
Require all granted
Options FollowSymlinks
</directory>
Alias /static/ /var/www/vhosts/mydomain/mydomain/static/
<Directory /var/www/vhosts/mydomain/mydomain/static>
AllowOverride none
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /var/www/vhosts/mydomain
CustomLog /var/log/apache2/mydomain_secure.log combined-vhost
<directory /var/www/vhosts/mydomain>
AllowOverride none
Require all granted
Options FollowSymlinks
</directory>
Alias /static/ /var/www/vhosts/mydomain/mydomain/static/
<Directory /var/www/vhosts/mydomain/mydomain/static>
AllowOverride none
Require all granted
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/shane/code_repository/public
CustomLog /var/log/apache2/git.log combined-vhost
<Directory /home/shane/code_repository/public>
Options Indexes
Require all granted
AllowOverride none
</Directory>
</VirtualHost>
##### END #####