Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sapphyre

macrumors newbie
Original poster
Nov 24, 2005
13
0
Ontario, Canada
I'm trying to use my computer as a web server for a few basic pages just for use by members of my family, but still can't seem to get the pages to show up for anybody who is not on my LAN. I've set the router to forward all requests for port 80 to my internal IP and set a firewall entry that is telling me that all TCP network traffic on port 80 is being let through... but I'm obviously forgetting something, because I can only access the pages from my computer or another computer on my network. I'd appreciate it if anyone could let me know what it is I'm neglecting to do... thanks :)
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,232
2
London, England
When you say you've opened a port on your firewall, where do you mean? In OS X or on the router (if it has a hardware firewall?).

I can ping that IP, but cannot access your site either.
 

ScottB

macrumors regular
Jul 13, 2005
176
0
Britain
It seems obvious but have you enabled the web server feature in system preferences?
Edit: Oops never mind. :eek:
 

trainguy77

macrumors 68040
Nov 13, 2003
3,567
1
I would read your ISP's AUP sometimes they don't want you to host your own servers. And sometimes they even block port 80. I did a port scan of the IP and 80 is not "open" that may mean that they block it. So the best way to check would be open a random port like 523 on the external side. And if you can have your router send to 80 on the lan. So then you would connect like this:
http://207.35.41.129:523/

EDIT: I am running a full port scan so far you only have 1 port open that i can find. I will report back when more are done.
 

trainguy77

macrumors 68040
Nov 13, 2003
3,567
1
Well, the port scan is taking a long time. However there is ALOT of ports open. Port 80 is not one of them. Is this your IP? Do you have lots of ports forwarded? Maybe your ISP has a proxy of some sort. Or a NAT system?
 

frankblundt

macrumors 65816
Sep 19, 2005
1,271
0
South of the border
what addresses is Apache set up to receive? you may need a virtual host alias for 207.35.41.129 as well as your local IP (or just *). Your router may be passing the requests straight thru so that Apache is receiving requests for http://207.35.41.129/ but has no host setting that relates to that domain, so rejects it.
 

billraff

macrumors newbie
Jan 14, 2006
13
0
typically, http will respond to any request it receives unless explicitly told not to. Telnet to that ip on port 80 fails for me so you're still blocked. Probably at your router.
 

Ticout

macrumors newbie
Mar 13, 2006
3
0
Help with Apache

Is their a good site to explain how to use Apache and can we use Apache and iWeb instead of using .Mac?
 

superwoman

macrumors regular
Apr 25, 2005
194
0
Monterey,CA
The fact that machines on your own LAN can access your web page indicates that your apache web server is working correctly.

Most likely your upstream ISP is blocking incoming port 80. Try editing your /etc/httpd/httpd.conf file to set up your web server on a different port (I believe it's the Listen directive). To be safe, use some number larger than 1024, say 8000, and restart your httpd process. Then configure your router to forward that port instead. If this works, then your ISP is blocking incoming port 80.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.