Forum Moderators: phranque

Message Too Old, No Replies

only see  when looking at webserver from remote address

only see  when looking at webserver from remote address

         

hakanhaknuz

1:47 pm on Nov 13, 2006 (gmt 0)

10+ Year Member



I've set up an apache webserver on my win2k box sitting behind a wireless router. When looking at htttp://localhost/ of [127.0.0.1...] i see the "it works " page.
But..when looking from any other address, eg the (internal or external)ipaddress i only see the 3 characters  , whatever url i type in(http://myipaddress/anyfoldername/anyfilename.anyextension).

Does anybody got a clue where i should look to resolve this issue?

jdMorgan

8:18 pm on Nov 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How is your DNS set up? Or, put another way, what address(es) do you use to attempt to access the server from other machines on your LAN or WAN?

If there is no public DNS, and if the router is not set up to port-forward requests from your WAN to the server, then the server will be inaccessible from the WAN -- i.e. the internet.

And if the other machines on your network don't have a domain name defined for the server (in their 'hosts' files) or if the server is not set up to listen on the server machine's specific IP address (i.e. 192.168.0.x and NOT 127.0.0.1), then the server will be inaccessible to the LAN as well.

Note that 127.0.0.1 always means "this machine right here." It is also a non-routable address, so you can't use it to connect from one machine to another; The result will always be that every machine will connect to itself at that address.

Jim

hakanhaknuz

8:22 am on Nov 14, 2006 (gmt 0)

10+ Year Member



Hello Jim,
Thank you for your quick reply,

The server gets the dns from the wireless router, the wireless router gets the dns dynamically from the isp.
The server is accesible via lan ip and wan-ip, the lan ip address of the server is setup to be a dmz on a smc wireless router, port 80 is also being forwarded to this machine.

I initially set the server up on a domainname pointing to my external ip address. Afterwards i did a find and replace(with notepad) to change this to my external ipaddress, and since your reply i decided to try and set the server up on it's internal ip address. I still see the 3 characters.

hakanhaknuz

11:56 am on Nov 14, 2006 (gmt 0)

10+ Year Member



On the router i disabled remote management.
Although the server was in the DMZ, i decided to switch of the firewall on the router. I have disabled/enabled about anything on the router that is possible.

I have disabled the firewall on the webserver pc.
Did i mention that ICS is enabled on the machine with the apache webserver 2.2 and php 5.X(php installer automatically updated htttpd.conf)there is also a remainder install of mysql from a previous setup

The webserver has 2 ethernet adapters and one wireless adapter.
The wireless adapter is there for contact with the router and wan(192.168.2.xx).
One ethernet adapter is there for the Internet Connection Sharing lan. (192.168.0.xx).
One adapter is connected to a server with no internet availability.

hakanhaknuz

7:17 am on Nov 15, 2006 (gmt 0)

10+ Year Member



Yesterday i lost connection to my home and remote control apps,due to the changes i made earlier to the router. I reenabled the firewall.
At first i didn't see anything, i restarted apache, and now i can see the "it works" page.

I guess the problem lies within the router...