httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Virtual hosts 2 IPs
Date Wed, 28 Jan 2004 15:14:59 GMT
> -----Original Message-----
> From: Konstantinos Chandrinos [mailto:kostel@iit.demokritos.gr]
> Sent: Mittwoch, 28. Januar 2004 15:47
> To: users@httpd.apache.org
> Subject: [users@httpd] Virtual hosts 2 IPs 
> 
> 
> Hello everybody,
> 
> I am running out of brain here, so I thought maybe I could 
> borrow some..
> 
> A redhat box running Apache 2 is supposed to serve a company's Web
> content. The RH box has internal IP 192.168.0.x and is nat'ed with
> proper port forwarding, with external IP 202.x.x.x.
> 
> So, I dig into the manuals and I give it a try:
> 
> Listen 80
> 
> NameVirtualHost 192.168.0.x
> NameVirtualHost 202.x.x.x
> 
> <VirtualHost 192.168.0.x 202.x.x.x>
> ServerName www.companyX.com
> blah, blah, blah
> </VirtualHost>
> 
> The local clients get DNS from a Windows box which has entries for
> www.companyX.com to be mapped to 192.168.0.x and no forwarding of the
> DNS query upstream.
> 
> The whole world can view the site. What's the problem then? Well, the
> problem is that the internal clients cannot view their own company's
> Website! They can ping the RH box, they can view content from other
> servers, on other ports, but no Apache. When I manually tune them to
> query an external DNS, they view the site perfectly. When 
> they use their

What does the FQDN resolve to internally? If you can ping, that only
means that ICMP is getting through - what about telnet to port 80? Does
that work?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> internal, it's a no-no.  I have tried the _default_ trick. No avail.
> 
> My /etc/hosts/ has only the 127.0.0.1 entry if that is of any use.
> 
> Obviously, I have missed the obvious. Would you be kind 
> enough to point
> it out?
> 
> Thanks in advance,
> Kostas
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message