我有一个VPS服务器。 我有一个系统 – CentOS 。
我使用程序 – node.js 该应用程序在地址和端口上运行: 31.3.79.11:3000/ : 31.3.79.11:3000/
我想写没有端口的域到浏览器。 并从IP地址加载应用程序:http: http://31.3.79.11:3000 : http://31.3.79.11:3000
我想写 – domain.com – 我想阅读从http://31.3.79.11:3000源应用程序。
我如何redirect一个域到这个IP和端口?
以下链接build议使用mod_redirect和/或库通过node.js运行Apache
http://m.readwriteweb.com/hack/2010/12/how-to-run-apache-and-nodejs.php
该库: https : //github.com/nodejitsu/node-http-proxy