HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Can't see webpage on local network (http://www.howtoforge.com/forums/showthread.php?t=523)

lsb 10th September 2005 16:36

Can't see webpage on local network
 
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 06:29

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

falko 11th September 2005 18:33

Quote:

Originally Posted by lsb
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.


All times are GMT +2. The time now is 07:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.