Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-27-2003, 08:09 PM   #1
Registered: May 2003
Posts: 168

Rep: Reputation: 30
cannot view web page from local lan


i am running red hat 8 and am hosting my own web page using Apache web server and have an adsl connection using a dynalink modem/router.

I can view the page from the internet but cannot view it locally from a windows 2000 workstation.

I have a feeling that it could be related to DNS but do not know exactly what i have done wrong. When i try to view the page locally i get the username and password for the adsl router come up.

On my windows 2000 workstation i have set the primary dns server to be the ip address of the router and secondary dns server to be the ip address of the ISP.

Is there anything else i can check for or have not configured properly? Could it be my iptables configuration? I have openened up ports 80 and 25 on the router and in my iptables. Iptables i have added the following:
iptables -A INPUT -p tcp --dport 80 -j ACCEPT and have done the same for port 25.

Any ideas anyone?


Old 05-28-2003, 01:29 PM   #2
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
on the internal LAN you have to type in the internal IP address of the webserver or its machine name, if you have netbios going.

If you type in your external IP address it won't work.
Old 05-28-2003, 01:38 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
If you want to use the external ip you will need local loopback enabled on the router (if the function is available).

If you are using dns you can override the dns ip by using the hosts file on all the local clients.
Old 05-29-2003, 10:31 AM   #4
LQ Newbie
Registered: May 2003
Posts: 4

Rep: Reputation: 0
you can fix this problem by adding and entry to your hosts file somewhere under your system32 directory somthing like

you will need to add this entery to all of your local windows machines inside you network.... its kindof like a poor mans DNS solution otherwise you can setup a DNS server
Old 05-31-2003, 02:03 AM   #5
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
thanks swift220. This worked!!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 11:30 PM
cant view a web page master General 5 08-19-2004 11:46 AM
Unable to view web page from remote machine kiddy Linux - Networking 2 04-14-2004 10:06 PM
web server, unable to view test page gigya Linux - Software 1 01-30-2004 11:34 AM
View Linux Web-Page on Windows I.E mhatreonline Linux - Networking 5 05-13-2003 05:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration