.php IIS6.0 Domain problem

Hi
Im having a problem that has myself and alot of other ppl stumped.
Im runnign IIS6 on Server 2003 and trying to host my own sites(webserver) I have a hosting company dealing with my DNS to point to my computer\Server.
Here is the problem
Im using php5 with Mysql 4.1.?? and this works fine locally when I connect to the server e.g
http:\\servername\website1\index.php
or
http:\\localhost\website1\index.php
also works fine

BUT
www.website1.net\index.php doesnt work (I.E gives me error file cant b found, FF give me no input file specified error)
The other strange thing is, same problem as above,Another site I host
www.website2.net\info.php works perfectly but
www.website2.net\forum\info.php doesnt work and gives me same errors as above.
info.php being the test file for .php
Any help or guide would be great. Tried registering at iis resource but cant get activation email due to an internal error
Thank you

Average rating
(0 votes)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Do you have a NAT router between your servers and the Internet? Are you testing your sites www addresses from inside your LAN?

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Is the IIS application mapping for PHP configured in ISAPI or CGI mode?

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Some NAT routers have a lot of trouble with loopback. One thing for you to try is open your %systemroot%\system32\drivers\etc\hosts file and then add entries for www.website1.net and the others, but instead of assigning your external IP make sure you assign them the internal LAN IP. If this is somekind of Router loopback issue, doing this should bypass your router.