I am building a regular django project - the difference is this:
I want the django website to only "work" on a specified subdomain - for example,
http://www.foo.mydomain.com
I want to use an entirely different application to run on another specified subdomain - e.g.
http://www.foobar.mydomain.com
How do I setup a django project, so that it only runs on a specific subdomain, and does not intercept requests to other subdomains - so other other applications can run on other subdomains on the same parent domain?
[[Note 1]]
The second application (running on the other subdomain is not a django app). In fact, it's mattermost, that I want to run on the other subdomain - so I can integrate mattermost into my website.
[[Note 2]]
I'm using nginx + gunicorn as the server