I'm going to be using flask to create a web application, and part of the application will involve a subdomain (for example, user1.appname.org).
I'm not sure how to go about creating these subdomains dynamically in the flask configuration, or how to deploy them to a production server.
What is the best way of doing this?