Creating virtual domains with vhost middleware
First off, what is VHost?
vhost is a NodeJS middleware package that serves as a simple manager to segment traffic to specific services based on the requesting hostname. More often you’ll see
vhost used in Express servers as it is bundled with the Express standard library via
Looking at the
vhost source on github, the…