Can't see webpage on local network

Discussion in 'Server Operation' started by lsb, Sep 10, 2005.

  1. lsb

    lsb New Member

    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.
     
  2. domino

    domino New Member

    Welcome aboard lsb!

    Modify each workstation's HOSTS by adding the fallowing:

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

    eg.
    Code:
    192.168.1.100 www.yourdomain.com yourdomain.com
     
  3. falko

    falko Super Moderator Howtoforge Staff

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

Share This Page