0.0.3 • Published 12 years ago

vhoster v0.0.3

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

vhoster

Developing multiple applications for different domains on one hosting using a single node.js instance.

Universal server for sites node.js with virtual hosts.

The common libraries located at the top level and are available to all sites.

Connected sites must contain the root file .index.js.

Each site determines its own relative paths.

Installation

$ npm install vhoster

Usage

$ vhoster -n you-host-name.com -s /var/www/subdomains/ -d /var/www/domains/

Example .index.js

var connect = require('connect');
exports.app = connect().use(function(req, res) {
	res.end('hello world\n');
});
0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago