LinuxQuestions.org
Register a domain and help support LQ
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 02-11-2003, 10:04 AM   #1
biggiefatts
Member
 
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Rep: Reputation: 15
Apache - Website wont load


I am trying to set up Apache on a Mandrake 9 machine. I believe that everything is set up correctly. However, the website is not accessable from the outside world. When I type in the IP address of the server from within the LAN the site comes up BUT from outside the LAN it will not. I am using a Linksys router and I have forwarded port 80 to the internal IP address of the server. I am also running Samba on this server and will eventually be setting up email and possible DNS as well. Could there be conflicts eventually if I try running everything under the sun on one machine?

Thanks,
David
 
Old 02-11-2003, 02:53 PM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Two questions :

1) Does this machine have two ip addresses and if so, is your apache configured to listen on both?

2) Are you on a cable modem, and /or an ISP who blocks port 80?

Slick.
 
Old 02-11-2003, 03:14 PM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Theoretically, there should not be a problem running everything from one low traffic machine, but from a security aspect, I'd advise against it.

As a general rule, put only public information on a public server and only private information on a private server.
 
Old 02-12-2003, 12:20 PM   #4
biggiefatts
Member
 
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
The server only has one internal IP address (192.168.1.200) and I do not believe that the DSL company I go through blocks port 80. A teacher of mine recommended I have apache listen to port 81 and use that port to see if it will work. I haven't tried that yet but will be soon. I will keep you updated.

Thanks,
David
 
Old 02-12-2003, 02:16 PM   #5
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
That would certainly rule out the port 80 problem.

You might also want to see if you can run something like iptraf on your machine to see what traffic is actually *getting* to it.

http://freshmeat.net/search/?q=iptraf&section=projects

Slick.
 
Old 02-20-2003, 10:57 PM   #6
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
yes most companys dont like severs and block port 80
 
Old 02-21-2003, 02:25 PM   #7
geoffm33
Member
 
Registered: May 2002
Distribution: RH 7.3 - YDL 2.3
Posts: 63

Rep: Reputation: 15
Quote:
When I type in the IP address of the server from within the LAN the site comes up BUT from outside the LAN it will not.
Let me ask the obvious question: When you are OUTSIDE your LAN, are you trying to access the server through it's internal IP (192.168.1.200) or the modem/router's external IP?
 
Old 02-22-2003, 09:45 AM   #8
biggiefatts
Member
 
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
Obvious questions are okay. Even the most advanced Linux people will make silly mistakes now and again (and I am definately not advanced). I have been trying with the IP address of the router, the actual internet, outside world IP addy.

I did try having the server listen to port 81 and that didn't work either. I have no idea what the problem could be. Sorry I can't give any more information....

David
 
Old 02-22-2003, 09:59 AM   #9
geoffm33
Member
 
Registered: May 2002
Distribution: RH 7.3 - YDL 2.3
Posts: 63

Rep: Reputation: 15
Are you sure your port forwarding is set up properly?

Also, follow this link to find out your ip address to be sure you are using the right one.

http://www.whatismyipaddress.com/

beware of evil popups...
 
Old 02-23-2003, 12:02 AM   #10
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
dude thts a rip off of whatismyip.com

its sorter, better, an dnothing but your ip



no idea where u got the oen above
 
Old 02-23-2003, 03:39 PM   #11
geoffm33
Member
 
Registered: May 2002
Distribution: RH 7.3 - YDL 2.3
Posts: 63

Rep: Reputation: 15
Quote:
no idea where u got the oen above
I got that link from the very first google result for the search "what is my ip address"

Other than choice's in IP lookup websites, is there any help for our friend biggiefats problem?
 
Old 02-23-2003, 04:03 PM   #12
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Has this been resolved yet or what? Do you have a firewall running? Try:

chkconfig --list

as root. See if iptables or ipchains is on. If they are shut them off by doing:

chkconfig --level 345 ipchains off
chkconfig --level 345 iptables off

Just a thought. Obviously something is in the way between the WAN and you LAN. You say your router is configured correctly so I would think it is a firewall problem.
 
  


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
kernel wont load enigmamachine Linux - Newbie 1 09-17-2004 12:46 AM
X Wont Load!!!! joker20 Linux - Newbie 10 09-16-2004 09:01 PM
Can't load one specific website using any browser Ilisdur Fedora 4 09-14-2004 05:59 PM
x wont load falcon1959 Linux - General 3 06-20-2004 09:13 AM
Help! - Linux just wont load!!! chrism_bradford Linux - Distributions 0 02-10-2004 06:03 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration