PDA

View Full Version : Can't see webpage on local network


lsb
10th September 2005, 17:36
I am running Fedora 4 and have a ADSL modem/router with a Static IP setup to forward all requests to my private network 192.168.1.xxx.

The webpages I have setup can be viewed from outside my local network but when I try to view them locally I get shunted to my modem's hub login.

I have tried modifying my /etc/hosts file but cant seem to get it to work (don't quite understand it).

Any help would be appreciated.

domino
11th September 2005, 07:29
Welcome aboard lsb!

Modify each workstation's HOSTS by adding the fallowing:

<linux websever> www.yourdomain.com yourdomain.com

eg.
192.168.1.100 www.yourdomain.com yourdomain.com

falko
11th September 2005, 19:33
I am running Fedora 4 and have a ADSL modem/router with a Static IP setup to forward all requests to my private network 192.168.1.xxx.

The webpages I have setup can be viewed from outside my local network but when I try to view them locally I get shunted to my modem's hub login.

I have tried modifying my /etc/hosts file but cant seem to get it to work (don't quite understand it).

Any help would be appreciated.
I think your router does not forward you because it "sees" that you're already in the local network. :(
Try what domino suggested.