2👍
✅
The basis of the problem if your configuration was accurate was that you had two VirtualHost
definitions but neither had a ServerName
. This meant name based host name matching couldn’t be applied and so it would always use the first VirtualHost
.
If you had intended them to be both under the same host name, the configuration should all be in the one VirtualHost
.
This sort of problem along with others related to running multiple Django applications at the same time are explained in the blog post:
Source:stackexchange.com