So, I may be missing something simple here, but I can\'t seem to find a way to get the hostname that a request object I\'m sending a response to was requested from.
Here's an alternate
req.hostname
Read about it in the Express Docs.