httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Schrauwen <>
Subject Re: A single IP address and Domain name serving many servers
Date Wed, 12 Aug 2009 16:12:58 GMT
You can do this with mod proxy.

# Proxy Forwarding
<IfModule !mod_proxy.c>
        LoadModule proxy_module modules/
        LoadModule proxy_http_module modules/

ProxyRequests Off
<Proxy *>
        Order allow,deny
        Allow from all

#forward /siteX to backend server
ProxyPass /site1/
ProxyPassReverse /site1/

ProxyPass /site2/
ProxyPassReverse /site2/

Alternatively you can use sub-domains too if you have control over
both dns and apache. ---> WAN IP --> LAN IP where apache does namevirtualhosting ---> ...

Also support questions should go to and not
dev@, this mailing list is for development related discussion.

Jorge Schrauwen

On Wed, Aug 12, 2009 at 6:01 PM, Branquim<> wrote:
> I want to know if its possible and how to do it...
> I have one valid ip address and one internet domain.
> What I want to do is:
> - when a client access my domain with: on his web browser
> he access my apache server apache1.localnetwork (I already do this
> through nat in iptables).
> - when he types I serve him with another apache
> server inside my local network (apache2.localnetwork
> - when he types he access another server
> apache3.localnetwork
> How can I do this redirection with the client passing me just another uri
> and I serving him with different apache servers, having only an external ip
> and domain name?
> Thanks.
> --
> View this message in context:
> Sent from the Apache HTTP Server - Dev mailing list archive at

View raw message