whats the total number of es in:
q: how to setup reverse proxy to forward domain names to different servers? i have a centos5 server with apache, which have one external ip address with the hostname example.com.
what i like is that
sub1.example.com sends http requests to 10.10.10.10
sub2.example.com sends http requests to 10.20.20.20

looking at the mod_proxy for apache, i cant figure out what i need to configure to get that.
does someone know how to do this?

a: youll have to create two virtual hosts for apache one for each subdomain, acting as a reverse proxy to the specified ip.
something along the lines of
namevirtualhost *:80
<virtualhost *:80>
    servername sub1.example.com

    errorlog var/log/sub1_error_log
    customlog var/log/sub1_access_log common

    proxyrequests off
    <proxy *>
        order deny,allow
        allow from all
    </proxy>
    proxypass / http://10.10.10.10/
    proxypassreverse / http://10.10.10.10/
</virtualhost>

<virtualhost *:80>
    servername sub2.example.com

    errorlog var/log/sub2_error_log
    customlog var/log/sub2_access_log common

    proxyrequests off
    <proxy *>
        order deny,allow
        allow from all
    </proxy>
    proxypass / http://10.20.20.20/
    proxypassreverse / http://10.20.20.20/
</virtualhost>


user
There are ninety "e"s.
assistant