[TUTORIAL] Hosting EasyPHP Behind a router!

Discussion about Helbreath Server Files.
Post Reply
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

First off, I'd like to thank SlammeR for the basic information.
Full detail and full tutorial by DeathFangX.
You may want to pin this Tutorial.

Steps:

<span style='font-size:14pt;line-height:100%'>1. Click on run>cmd>ipconfig>
- Write down your IP Address and your DNS Suffix (Ex. rogers.phub.com)

2. Go into your C:\WINDOWS\System32\drivers\etc folder and open "hosts" with notepad.
Add in your internal IP Address and your DNS Suffix beside it.

3. Forward the port 4001 on your computer's Router IP Address.

4. Go into C:\Program Files\EasyPHP1-8\conf_files and open the file "httpd" with notepad.
- Press ctrl+f and search for 127.0 and you should see 127.0.0.0.1:80. Replace that with
your internal IP Address followed by the port you opened(4001) so it will look like
192.168.1.100:4001. (192.168.1.100 is my computer's IP Address).
- Press ctrl+f again and search for 127.0 and replace the 127.0.0.0.1 with your internal
IP Address (192.168.1.100 in my case), Search it again and replace it with your internal
IP Address.

5. Go into your C:\Program Files\EasyPHP1-8\apache\conf folder and open the file "httpd" with Notepad. Search for "127.0" and you will see "127.0.0.0.1:80". Replace that with your Internal IP Address followed by your port, so it will look like "192.168.1.100:4001" in my case.
- Press Ctrl+F and search for 127.0 and you will see 127.0.0.0.1, replace it with your Internal IP Address. Press Ctrl+F again and search for 127.0 and replace it with your
Internal IP Address. Save the Files and place your helbreath PHP scripts into your
C:\Program Files\EasyPHP1-8\www folder and run EasyPHP.exe.

6. If you want to view your PHP's. Go to <a href='http://www.whatismyip.com' target='_blank'>http://www.whatismyip.com</a> and write down your External Ip Address ( The IP Address in bold numbers ). And in your browser type your external IP Address with your port number at the end like this:
<a href='http://ExternalIpAddress:4001/Top10.php' target='_blank'>http://ExternalIpAddress:4001/Top10.php</a> for example.
Another example would be
<a href='http://74.166.111.12:4001/AccMaker.php' target='_blank'>http://74.166.111.12:4001/AccMaker.php</a>

7. Give the link to your friends and your done!

- Tutorial by DeathFangX
- Originally helped with by SlammeR</span>
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

finally a end to all the fucking retards asking for how to host EasyPHP.

THX :) :)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
projectx
Loyal fan
Posts: 201
Joined: Sun Jul 16, 2006 12:01 pm

Post by projectx »

Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

and u think the retards would search for that link? (before u posted lol)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

its also already pined in thsi topic

<a href='index.php?showtopic=7042' target='_blank'>index.php?showtopic=7042</a>
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

Your post was very brief, this is a full tutorial on it.
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

I don't see a reason to edit the hosts file at all. I've been running apache for years without touching my hosts file.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

Orkl wrote: I don't see a reason to edit the hosts file at all. I've been running apache for years without touching my hosts file.
Are you running it behind a router? Some routers require you to edit it.
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

DeathFangX wrote:
Orkl wrote: I don't see a reason to edit the hosts file at all. I've been running apache for years without touching my hosts file.
Are you running it behind a router? Some routers require you to edit it.
this is good and all but there are a select few routers that will not work this way.... you have to edit it a bit different to get them to work.
<i>"Always write good code. Feel bad to write bad code."</i>
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

DeathFangX wrote:
Orkl wrote: I don't see a reason to edit the hosts file at all. I've been running apache for years without touching my hosts file.
Are you running it behind a router? Some routers require you to edit it.
I've always used a router, never had any problems at all.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

Keepin' this topic alive for those who need it =]
Sentinel
Loyal fan
Posts: 462
Joined: Thu Jan 11, 2007 4:16 pm

Post by Sentinel »

DeathFangX wrote: Keepin' this topic alive for those who need it =]
I thought you died Mike. What the hell happened?
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
zonghui
Regular
Posts: 47
Joined: Mon Jun 19, 2006 7:57 pm
Location: Pennsylvania

Post by zonghui »

The php won't let me use anything but port 80.

if I use another port, like 4001, it only says "The page cannot be displayed".

xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

why would u wanna use any other port than 80? if u do nobody will be able to acces ur site without u telling them the port first :/
zonghui
Regular
Posts: 47
Joined: Mon Jun 19, 2006 7:57 pm
Location: Pennsylvania

Post by zonghui »

It won't work outside of my network, only the pcs behind my router can use the account creators, etc.

I've forwarded the ports and used the right IP's.

:unsure:

[Quoted from Juggalo Q&A]
Game-server-mode = LAN
Right now i cant connect by using this.
i will get Past the login screen onto character Selection and once double
clicked the char i want. it will stay on connecting. What is going on here.
Why isnt it giving the all clear like it should be? Whats causing this
bastard to not send me a signal back telling me i can now connect.
just the same way as when i try to connect using INTERNET Setup.

A: players use ur external ip in cleint.
You use ur internal ip for client.
Some router will let u use ur external ip. but most dont

This cannot work and is not possible to host and play behind a router using LAN mode which is required for others to play :D Just wanted to point that out, is false information.

lucky we can use pcs outside the hosting network :rolleyes:
Post Reply