Forum Moderators: phranque

Message Too Old, No Replies

LAN Router Interference

My local network can't access my sites!

         

inveni0

5:35 pm on Apr 20, 2007 (gmt 0)

10+ Year Member



I'm trying Apache for the first time, and I have a strange problem. Computers not on my LAN have no problem accessing the trial websites I'm hosting, but when I use my LAN to access these pages, all I get is the Router Setup Page. What's going on here? This is very frustrating for debugging, as I have to call someone else to pull up the page to check any changes.

Thanks!

jdMorgan

6:11 pm on Apr 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How are you attempting to access your sites? If you can access them by the IP address of the machine you are on, then your network is working. However, you will need to define the domain names (if you use them to access the sites) in the 'hosts' file of each machine on your network. This is because your router cannot make a connection that is both outgoing and incoming at the same time...

The location of the hosts file varies by operating system and version -- just search for 'hosts' -- no file fiel extension, and follow the example in that file or in the col-located 'host.sam' (sample) file.

Jim

inveni0

6:48 pm on Apr 20, 2007 (gmt 0)

10+ Year Member



I can not access them by entering the LAN IP of the Apache machine. But, I CAN access the Apache machine through folder sharing and pinging.

I tried editing the HOSTS file, but it didn't work. I keep getting only the Router Setup page.

Any other ideas? Do most routers come with a way to bypass this?

jdMorgan

8:46 pm on Apr 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like a router configuration problem only, then. Check the router setup and see if it has perhaps blocked HTTP-protocol serving *between* machines in your LAN -- Maybe the setup page is just the default page it shows for blocked connections. I'm guessing, because I don't know your router.

Jim

mole

9:03 pm on Apr 20, 2007 (gmt 0)

10+ Year Member



If your ISP has an HTTP proxy server, then set your browser to use it.
Then when you access your site either by domain name or public IP address, you'll go out through your router and the proxy will serve up your hosted pages.

inveni0

2:38 pm on Apr 21, 2007 (gmt 0)

10+ Year Member



The proxy is a great idea and works wonderfully! Now that I can test, I get 403 forbidden errors on my sites.