Apache serving internally but not externally
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Apache serving internally but not externally




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Apache serving internally but not externally  
neuffy@neuffy.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 01:47 AM

Ok, I'm running Kubuntu, with apache installed.
Everything's setup, and when I type "http://myip" it comes up with my
homepage. When I type "http://www.neuffy.com" it comes up with my
homepage.


But when I type "www.neuffy.com" on my Win2k box beside it, I get "The
operation timed out..." Same with a computer external to my network.

The kubuntu box is pinging correctly.
The kubuntu box has regular web access.

with
netstat -ntld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN

I've tried binding it to my ip, I've tried binding it to nothing.
When I bind it to my ip, the netstat gives it being bound to the local
address (ip) but still 0.0.0.0:* for the external? Is this a problem.

Any suggestions?






[ Post a follow-up to this message ]



    Re: Apache serving internally but not externally  
Tim


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-11-05 10:57 PM

On Wed, 09 Nov 2005 17:47:18 -0800, neuffy sent:

> Ok, I'm running Kubuntu, with apache installed. Everything's setup, and
> when I type "http://myip" it comes up with my homepage. When I type
> "http://www.neuffy.com" it comes up with my homepage.
>
>
> But when I type "www.neuffy.com" on my Win2k box beside it, I get "The
> operation timed out..." Same with a computer external to my network.

And are those other computers able to resolve that domain name to the
correct IP?  (Whether that be via DNS or a hosts file.)

Another issue that springs to mind is firewalling:  Allow incoming
connections to port 80, if you run a firewall.  Don't just throw away your
firewall.  That's all you'd need to do for HTTP.

Then there's the case where you're hoping that an internal machine (to
your network) can connect to an external IP address (because the domain
name resolves to an internet IP address).  Sometimes that won't happen, it
depends on how your network works.

> The kubuntu box is pinging correctly.

In what sense?

> The kubuntu box has regular web access.
>
> with
> netstat -ntld
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
>
> I've tried binding it to my ip, I've tried binding it to nothing. When I
> bind it to my ip, the netstat gives it being bound to the local address
> (ip) but still 0.0.0.0:* for the external? Is this a problem.

On other systems (I don't have kubuntu) a simple "Listen 80" directive in
the main Apache configuration file causes it to list to port 80 on all IP
addresses.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register