What is the most scalable and simple way to have a node app serving many domains ?
I feel like many hosting services like nodejitsu don't support this (they actually told me this in an email)
My idea is to have the users redirect a domain to me (like tumblr) and then on the nodejs app I get the domain I'm serving like this:
req.headers.host
and then I simply serve the "template" with the user's options in the DB..