Bluehost.com Web Hosting $6.95

Apache & public access

This is a discussion on Apache & public access within the Windows Web Servers forums, part of the Web Server and Related Forums category; I just set up Apache to host a website at an organization, and while the site is visible over the ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2004
L
 
Posts: n/a
Default Apache & public access

I just set up Apache to host a website at an organization, and while
the site is visible over the LAN, it's not publicly visible.

I'm new to this stuff, and I can't figure out how to tackle this
problem. There is a firewall on the network, but I turned it off
completely to test the website and it still wasn't visible outside the
network.

Everyone on the LAN has been using
http://ip_addr/pagename.htm
successfully, and I thought this would work publicly too. Is there
anything in Apache that needs to be configured or set to allow outside
access? Or is there some network setting I must be missing?

Thanks!
  #2 (permalink)  
Old 07-21-2004
Claire Tucker
 
Posts: n/a
Default Re: Apache & public access

On 19 Jul 2004 17:09:00 -0700, ragazza68@hotmail.com (L) wrote:

>I just set up Apache to host a website at an organization, and while
>the site is visible over the LAN, it's not publicly visible.
>
>I'm new to this stuff, and I can't figure out how to tackle this
>problem. There is a firewall on the network, but I turned it off
>completely to test the website and it still wasn't visible outside the
>network.
>
>Everyone on the LAN has been using
>http://ip_addr/pagename.htm
>successfully, and I thought this would work publicly too. Is there
>anything in Apache that needs to be configured or set to allow outside
>access? Or is there some network setting I must be missing?
>


You haven't given much detail about how the network is arranged in
this environment.

I'm going to take a wild stab in the dark that the organisation has a
single IP address and a private network using private-use IP addresses
in one of the three reserved ranges. Access to the Internet is through
a router performing some form of source NAT. The router is the only
host with a valid Internet IP address.

In this configuration, Apache must either run on the router or you
must arrange for the router to pass packets destined for port 80 on
the router to be handed back to your web server using destination NAT.

If I guessed your situation right, hopefully that's enough to get you
started. I won't go into any more detail just in case the network is
nothing like my guess, which was based on a very common case which
causes similar questions in this group.

All the best,
-Claire
  #3 (permalink)  
Old 07-25-2004
Niteshade
 
Posts: n/a
Default Re: Apache & public access

Claire Tucker <fake@invalid.invalid> wrote in message news:<tkqrf093m9oqo01ou028lf3vnomjnemejh@4ax.com>. ..
> On 19 Jul 2004 17:09:00 -0700, ragazza68@hotmail.com (L) wrote:
>
> >I just set up Apache to host a website at an organization, and while
> >the site is visible over the LAN, it's not publicly visible.
> >
> >I'm new to this stuff, and I can't figure out how to tackle this
> >problem. There is a firewall on the network, but I turned it off
> >completely to test the website and it still wasn't visible outside the
> >network.
> >
> >Everyone on the LAN has been using
> >http://ip_addr/pagename.htm
> >successfully, and I thought this would work publicly too. Is there
> >anything in Apache that needs to be configured or set to allow outside
> >access? Or is there some network setting I must be missing?
> >

>
> You haven't given much detail about how the network is arranged in
> this environment.
>
> I'm going to take a wild stab in the dark that the organisation has a
> single IP address and a private network using private-use IP addresses
> in one of the three reserved ranges. Access to the Internet is through
> a router performing some form of source NAT. The router is the only
> host with a valid Internet IP address.
>
> In this configuration, Apache must either run on the router or you
> must arrange for the router to pass packets destined for port 80 on
> the router to be handed back to your web server using destination NAT.
>
> If I guessed your situation right, hopefully that's enough to get you
> started. I won't go into any more detail just in case the network is
> nothing like my guess, which was based on a very common case which
> causes similar questions in this group.
>
> All the best,
> -Claire


Ok. I have a similar problem.
I have Apache2 running on a proliant 3000r running windows 2000 pro. I
can view the site(s) locally but not outside of the LAN. My router is
setup to pass requests to the proliant on port 80. I have also tried
the DMZ setting on my router which is like you said before "sitting on
the router".
I think perhaps it may be a configuration error on my part. I fought
with it for a week so now im finally asking for help hehe.

any ideas?
-Niteshade
  #4 (permalink)  
Old 07-25-2004
Claire Tucker
 
Posts: n/a
Default Re: Apache & public access

On 25 Jul 2004 11:34:01 -0700, stalker_51@hotmail.com (Niteshade)
wrote:
>
>I have Apache2 running on a proliant 3000r running windows 2000 pro. I
>can view the site(s) locally but not outside of the LAN. My router is
>setup to pass requests to the proliant on port 80. I have also tried
>the DMZ setting on my router which is like you said before "sitting on
>the router".
>I think perhaps it may be a configuration error on my part. I fought
>with it for a week so now im finally asking for help hehe.
>


Well, I can't really guess what might be up here, but here are some
ideas:

* Your ISP is actively blocking port 80 to stop users from running web
servers. You might like to try forwarding a different Internet-facing
port, preferably something high up which your ISP is unlikely to have
blocked. (a stateful firewall could block them, but I doubt most ISPs
go that far) This won't help you run a server on port 80, but it'll at
least tell you whether it's your ISP's fault it's not working.

* You have Apache bound only to localhost, not to the network-facing
interface. You say you can view sites "locally" but I don't know if
that means from other hosts on your LAN or from the box running the
server. If you can access it from other hosts on your LAN then this is
most likely not the problem.

* You configured your router incorrectly. I can't offer any advice
here, since I've no idea what you are using as a router and even if I
did I probably wouldn't be familiar with the product. ;)

Best regards,
-Claire
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0