Node.js multiple subdomains
问题 I am using node.js to build a multi-tenant application where different clients with their own subdomains will be accessing a single instance of my app. My questions is: Is there a way for the app to find out which subdomain a user is on? That way, I can route the user to the correct database schema (postgresql). Thanks in advance! Additional information: I am using the Express framework I'm not using multiple instances because I expect to have upwards of thousands of users and I don't want to