couldn't you add a directive in apache where when you recieve requests for 
www.clientdomain.com httpd will direct those to another directory on the same machine 
as the main website

On Fri, 10 Aug 2001 13:02:49 +0800
"Paul Nevin" <[EMAIL PROTECTED]> wrote:

> Is there a way to redirect http requests within ipf/pf/iptables to an ip
> within a private network range?  Or is this something that is usually
> done within Apache VirtualHosts directives?  Confused? So am I!
> 
> I am trying to build a web server (http://clientdomain.com) within my
> LAN.  My own registered domain (http://mydomain.com) has had a CNAME
> entry registered for clientdomain.com pointing to mydomain.com.  In this
> way I hope to somehow redirect internet requests for
> http://clientdomain.com to my gateway/firewall/router.  The gateway
> would forward these requests to the customer's www server within the
> private address space of the LAN (192.168.1.x).
> 
> The catch is I only have one registered "real" ip and that is already in
> use by my official web site.  Re-directs based only on http requests
> would be the only way I can see to make this work.
> 
> I can not find any information on doing this with ipf/pf so I assume
> there must be some sort of Apache directive that can do this within my
> existing web server.
> 
> Help appreciated.


-- 
Alexandru Balan
Technical Support

Reply via email to