a weird error involving PHP or the server..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

a weird error involving PHP or the server..

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post 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..
Post Reply