LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2004, 11:20 AM   #1
munchies
LQ Newbie
 
Registered: Apr 2004
Distribution: SuSE 9.1 Pro
Posts: 7

Rep: Reputation: 0
Apache server works, but only on my local network


Hi, I'm using Mandrake Linux 9.2, I installed the Apache webserver including the mysql and php packeges. I can view it on 127.0.0.1, the ip of my pc locally and the ip my router gets from my ISP. So that must mean the port forwarding works. Only problem is no one else besides pcs in my local network can acces the apache server on the ip of the router, how do I solve this?

Thx in advance
 
Old 04-06-2004, 11:58 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
if your computer is connected to the router and the router is functioning properly, you need to go into your router configuration and forward port 80 tcp requests to the machine running the Server.

This is also accessed outside the network by the ip that the ISP has leased you, not by the 192.XXX IP. those are internal IPs for the LAN.
 
Old 04-06-2004, 02:41 PM   #3
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
look at the apache logs... are people hitting your server, then getting denied? Are they even getting there? first find out were the packets are stopping (at the router, or the web server). It may be something as simple as setting up port forwarding correctly on the router. Do you have any IPTables rule on the apache server?
 
Old 04-07-2004, 07:44 AM   #4
munchies
LQ Newbie
 
Registered: Apr 2004
Distribution: SuSE 9.1 Pro
Posts: 7

Original Poster
Rep: Reputation: 0
I configured the port forwarding properly on the router otherwise i wouldn't be able to

acces the server on the isp ip address of the router. I'm 100% positive that the port

forwarding works but the weird thing is only ppl in my local network can acces it.

Do I need to edit the httpd.conf for this to work?

Thx
 
Old 04-07-2004, 09:18 AM   #5
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
post your httpd.conf file.

Is iptables running?
 
  


Reply


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
Trouble viewing .php on local apache server using Mozilla shortname Linux - Software 2 03-25-2005 03:07 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
apache virtual hosts: how do I view them on local network? wendallsan Linux - Software 2 01-16-2005 11:57 PM
Email works on local network but internet doesn't nixclueless Linux - Networking 1 07-06-2004 08:12 PM
Apache works on local machine, not LAN lanzdale Linux - Software 3 09-02-2003 09:16 PM


All times are GMT -5. The time now is 12:14 AM.

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