Page 1 of 1

a weird error involving PHP or the server..

Posted: Wed Jun 14, 2006 7:55 pm
by Charles256
Sorry for the confusion but I really don't know what the error is..Okay.. So you can access my computer from an IP address,right? I have a site set up and everything works great if i go to http://localhost/index.php but the moment i go to http://myipaddress
I get the following page.

Under Construction
The site you were trying to reach does not currently have a default page. It may be in the process of being upgraded and configured.


Please try this site again later. If you still experience the problem, try contacting the Web site administrator.

which is really odd because before this .. I had.

Code: Select all

header("Location: http://localhost/index.php?nav=game&page=manage");
and so I changed it to. ( so it'd work non-locally as well.

Code: Select all

header("Location: index.php?nav=game&page=manage");
however..everything works locally..only remotely do I get a problem.. I've rebooted the server..everything..any ideas?

Posted: Wed Jun 14, 2006 8:00 pm
by feyd
Are you the only one on the IP? Are you running through a router? Does the router route port 80 traffic to a different internal IP?

Posted: Wed Jun 14, 2006 8:05 pm
by Charles256
two people on the IP...we're behind a router. my internal IP is the one exposed to the net. it said the IP changed (possible), however whenever I enter in that IP I get an unable to connect error where as the old IP still has the under construction..odd..