PDA

View Full Version : [ubuntu] web page problems


metaranha
October 3rd, 2008, 03:37 PM
Hi everyone, I'm a new Ubuntu server admin (running HH) and i'm having a little trouble getting a simple webpage I wrote in PHP to display to a browser. I forwarded port 80 on my router and put the PHP into the /var/www directory but it still won't display.
One of my friends suggested that the page may not be displaying because the listening port (may not be open?)
Does anyone have some suggestions to get this to work right?

elvinatom
October 3rd, 2008, 03:39 PM
Do you have a commercial connection? I'm asking because it's possible that the port is blocked via your ISP.

Rich78
October 3rd, 2008, 03:40 PM
Best way to find out is to telnet the box on port 80.

telnet <serverip> 80

If you don't connect, something is blocking port 80.

lykwydchykyn
October 3rd, 2008, 04:01 PM
Does it work fine on your local network?

metaranha
October 3rd, 2008, 05:55 PM
it doesn't work on my local network either. It looks like i can't telnet through 80 either.