knight0334 Rated XXX
|
Posted: Sun, 13 May 2007 23:33:11 Post Subject: |
|
|
I had the same problem back when I was trying to do the same thing, ...view the site from within the LAN via the WAN IP. However I was using WinXP or Win2K3 with Apache. There were a few "fixes" that I tried, but none really worked. One sorta worked, had to make changes to the config file for certain allowed IP ranges.
I had to setup a local DNS server for my LAN machines to use for resolving for it to work. For LAN viewing of the page, it redirected to the LAN IP of the server rather then going through the WAN IP for local viewing. The rest of the world resolved via remote DNS to my WAN IP.
Not that familiar with Linux, but if it has a "hosts" type file, you might be able to redirect to the LAN IP of the server on each local machine without having to use a DNS server. |
|