Hwo to cehck req заголовок в JS
var host = req.headers['host'];
Poised Parrot
var host = req.headers['host'];