My simple Nginx setup, virtual host on ubuntu.
server { listen 80; server_name node.name.se; access_log /var/log/nginx/node.access.log; location / { proxy_pass http://127.0.0.1:3050/; } } server { listen 80; server_name nodejs.name.se; access_log /var/log/nginx/nodejs.access.log; location / { proxy_pass http://127.0.0.1:4000/; } }