Created
December 24, 2010 14:45
-
-
Save stagas/754303 to your computer and use it in GitHub Desktop.
Revisions
-
stagas revised this gist
Dec 24, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ From the WHM cPanel, find the menu item `Service Configuration`, select `Apache ### Step 3 Tick the IP address you **DON'T WANT** Apache to listen to, and write it down so you can use it in the next step. Click `Save`. ### Step 4 -
stagas revised this gist
Dec 24, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Install Node.js, and create a server like this: var server = http.createServer(function(req, res) { res.writeHead(200); res.end('Hello, world!'); }); server.listen(80, '111.111.111.111'); -
stagas created this gist
Dec 24, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ ### Step 1 Get a VPS that offers **2** or more IP addresses. ### Step 2 From the WHM cPanel, find the menu item `Service Configuration`, select `Apache Configuration` and then click on `Reserved IPs Editor`. ### Step 3 Tick the IP address you **DON'T WANT** Apache to listen to, and write it down so you can use it in the next step. ### Step 4 Install Node.js, and create a server like this: var http = require('http'); var server = http.createServer(function(req, res) { res.writeHead(200); res.end('Hello, world!') }); server.listen(80, '111.111.111.111'); Replacing `111.111.111.111` with the IP address you previously reserved from the WHM cPanel. ### Step 5 Stop wasting your time and never listen to those telling you to use `mod_rewrite` to proxy Node.js again.