Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

site only visible locally

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a webserver set up on Mandrake 7.1 using the old Apache 1.3. When connecting through the localhost or another machine on my network, the site looks fantastic. Everything's set up perfectly, including the URL I have pointing to it. I'm able to access the site through both the ip address and URL I registered, but here's the kicker...no one else can. I tried lynxing to it from an outside shell account I have, and sure enough I was unable to see the site. I had assumed this was a simple "allow/deny" problem, but after playing around with it for a while I'm starting to think otherwise. From what I can tell all the allow/deny's are set up properly (although I confess I'm no Apache guru), and was certain to open port 80 on my router. I've started httpd time and time again, tried fixing the configuration files, and still nothing. If I had to guess, I'd say this was probably an easily solved problem, unfortunately I don't see the answer anywhere. If anyone could help me out I'd appreciate it.
 
If you can see it locally, then apache is set up correctly (maybe). :) The problem is somewhere between DNS and your router. DNS should point to your router's external (internet) IP address. Only the router should know anything about the outside world. Then apache should either listen to its local IP or "*" to listen for all addresses. Double check to make sure all http (port 80) traffic is forwarded to the local IP of the server on your router. Also make sure your firewall is allowing http traffic. If you could give us a link you your site or IP, we will be able to learn a lot more about your problem.
 
Thanks for the reply, but I've since eliminated the router as the problem. Recently I connected the machine directly to my cable provider, with no router in the way, to see if I could reach it that way. Once again, I connected to a remote shell and then lynxed back to my site...nothing. Next I ran nmap, and sure enough port didn't show up. I'm certain httpd is running, since I can still see the site locally. And, ironically enough, the URL I have assigned to it works fine...but like I said, only for me. I'd love to get the site up and running, but this one has me stumped.
 
Just to ask the dumb question, your site isn't on a non-routeable address, is it? (10.x.x.x, 192.168.x.x, 172.16-32.x.x) ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
It is, but I'm pointing the URL to the router's address, which has port 80 open. httpd is running on 80, and allowing all connections, so people should be redirected to the proper host. Unfortunately, the router I have is a piece of junk. It's a Belkin 4 port cable gateway/router, and the configuration is web based (ie: click the right choice and hit next) so the odds of my changing anything are a bit slim.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top