title: How can I configure multiple sub domains in Express.js or Connect.js
body: <p>I am used to working on httpd ( Apache ) which provides a way to configure subdomains which is mapped to a directory.
  How can I do the same thing in Connect.js/Express.js ? I see that the only thing that I have is routes which I am not sure how I can use to configure sub domains. I have subdomains like m.mysite.com, sync.mysite.com</p>
  
  <p>Can someone help ?</p>