npm install -g vhost-managermkdir /my/hosts/directorynode-vhost-manager --hosts-dir=/my/hosts/directory
By default vhost-manager will look for 'hosts' in the current directory to use for it's hosts directory. You can explicitly specify the hosts directory with
node-vhost-manager --hosts-dir=<directory> or using a JSON file with the key
hostsDirectory. If no JSON file is provided it will look for
vhosts.json is not found it will use the default settings.