Skip to content
This is just simple code to give people an idea for how to run a web server with multiple domains in Node.js DO NOT USE IN A PRODUCTION ENVIRONMENT.
JavaScript
Branch: master
Clone or download

README.md

Node.js Web Server (Proxy Version)

Build Status dependencies Status

Made by NdT3 using Node.js with redbird for proxy and express for webserver

This is just simple code to give people an idea for how to run a web server with multiple domains in Node.js

Examples are included in proxy code (proxy.js), server1.js and server2.js. Tested with a localhost and hosts file editing.

NOTE: All connections are logged in the proxy console (https://i.imgur.com/0SOiski.png) This is not something to worry about as these are not errors

IMPORTANT: I have tested this and found that it does not work with CloudFlare SSL

DO NOT USE THIS IN A PRODUCTION ENVIRONMENT

You can’t perform that action at this time.