is there a way to use the express router to get the variable of the subdomain.
Lets say I have
In Express 4.x you can use req.subdomains property.
// Host: "tobi.ferrets.example.com"
// => ["ferrets", "tobi"]