Basically when the server gets request from asdf.com it should go to the flask instance running at 5000, when server gets request from fdsa.com it should go to another flask instance (totally different app) running on 5001 and so on.
How can I achieve this, in node.js I was able to use http-proxy and route domains to node.js instances running on different ports.