...

View Full Version : apache php?



likon
11-12-2007, 06:32 PM
this problem is just ridiculous. I have done this before... and it worked fine.. but now i am confused

I had made sure to open port 80 from my router and my firewall.
and I also had changed httpd.conf ( ServerName myip:80)

and it still did not go online..
what's wrong..
I Just want to make it go online


hope this php section can help me... thanks guys :)



note. I am using xampp ... which I dont think have anything to do... cause i have ever done this before. Thanks.

dniwebdesign
11-12-2007, 06:53 PM
This isn't really a php question though, so thus, you just posted this in the wrong topic which is against the forum rules (as I recall). But since we're here... you do have Apache started, correct?

likon
11-12-2007, 07:08 PM
yup . i have my apache started.. I have no clue whats wrong.. I have set my http.conf file.. router and firewall... what else ?

I run it on port 80 and has made virtual host on port 80 to my computer network ip.. then I put my real ip into my browser.. and it didnt go online...><'

sory.. i know this is kinda wrong topic . but. I already post on server side development issue... i didnt get much attention there..

I know.. here php has to do with server configuration.. so I think this might be a good place to ask .

sory. but thanks for replying

ess
11-12-2007, 07:43 PM
Firs of all...I would check that port 80 is open to the outside world.
Second, if you are using a router; verify that when you type your local ip address in your browser, you are able to see the home page of your local website.

to verify whether port 80 is open to the outside world, you will need to use a "Port Checker" or "Online Port Scanner" such as the following.
http://www.t1shopper.com/tools/port-scanner/

Why not use No-IP?
http://www.no-ip.com/

It is free to sign up, and you are allowed up to 5 free domains.

hope this helps
Cheers
~E

likon
11-12-2007, 08:02 PM
@ess
thanks ess
71.109.51.128 is responding on port 80 (http).
yup, i think port 80 is responding?.....that means my http.conf is the culprit?

no-ip huh? oohh cant i not just put my ip 71.109.51.128 into my browser .and check if my 'localhost' can be displayed ? if it is, then there should not be any problem? cmiiw




@previous reply
my firewall and other stuff settings are just fine....
this , I assume, is the the thing that make it could not go online?

what does this mean though ?
screen shot
http://img148.imageshack.us/img148/6317/erroroi1.jpg

CFMaBiSmAd
11-12-2007, 08:21 PM
It is not enough to just have port 80 open, you must forward traffic on port 80 to the internal network ip address of the computer you want to receive that traffic.

Your router should have a "port forwarding" section to set this up. You should also assign a fixed internal network ip address for that computer instead of using DHCP to assign it so that there is no chance of it randomly changing and making the port forwarding invalid.

matak
11-12-2007, 10:56 PM
true, like CFMaBiSmAd said.

also, you must know that you can't reach your localhost instalation from your computer's internet ip adress! if you want to test is your instalation availiable online go to one of proxy servers availiable and type your current internet IP, or ask a friend to test it from some other computer.

for more information about port forwarding visit www.portforward.com

Inigoesdr
11-12-2007, 11:55 PM
also, you must know that you can't reach your localhost instalation from your computer's internet ip adress!

Yes, you can. The only reason you would not be able to is if you had a router, and you didn't forward the port. If that were the case then a proxy isn't going to be able to view it either.

matak
11-13-2007, 02:03 AM
Yes, you can. The only reason you would not be able to is if you had a router, and you didn't forward the port. If that were the case then a proxy isn't going to be able to view it either.


I had made sure to open port 80 from my router and my firewall.
and I also had changed httpd.conf ( ServerName myip:80)

he has router. and no you can't view your localhost instalation from your internet IP on your computer, even if you forward the port.

Inigoesdr
11-13-2007, 02:42 AM
he has router.
I saw that, but he also said that it was forwarded.

and no you can't view your localhost instalation from your internet IP on your computer, even if you forward the port.
Interesting. I just did it, but ok, if you say so. :rolleyes:

likon
11-13-2007, 04:03 AM
hey what the heck... THIS IS TOTALLY RIDICULOUS....

this morning, my localhost did not go online....
I was trying to set up things (ip forwarding, http.conf, restarting server, setting internal network ip)

and it still did not work out..

and tonight.... at 8:01 PM . IT WORKED.... what the hell....... hey THANKS GUYS

ridiculous dude.... .I am gonna 'thank' you guys all.... :)

matak
11-13-2007, 08:32 AM
Interesting. I just did it, but ok, if you say so. :rolleyes:

i also tried it and failed. but if you say so... :rolleyes:

likon
11-13-2007, 03:50 PM
hey. you guys are still debating eh?

dniwebdesign
11-14-2007, 04:08 AM
i also tried it and failed. but if you say so... :rolleyes:
If I type my ip address into the address bar, my localhost website (on port 80) comes up and works just fine. Always has since I first installed Apache. :confused:


likon, try finding an http.conf file somewhere on the internet. There are a few websites that post them to help people that have trouble. Just give a google and find one. Customize it to your needs and what you have.


Another option is to use the default http.conf (no editing) and work your way from there. Modify for initial working then start expanding one bit at a time, making sure you can still access the server (via ip address or localhost) each time you change something.

aedrin
11-14-2007, 05:11 PM
If you can't get to the 'localhost installation' then there would be no webhosts at all. What a horrible world it would be, everyone would have to download the internet to their 'localhost' and then access it!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum