Welcome to WebmasterWorld Guest from 3.92.92.168

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

LAN Router Interference

My local network can't access my sites!

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

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


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!

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

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


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

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

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


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?

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

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


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

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

Junior Member

10+ Year Member

joined:Feb 21, 2002
posts:160
votes: 0


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.
2:38 pm on Apr 21, 2007 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


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