Morning,

1.) create the a-records "marketing", "services" and "helpdesk" for
company.tld and "point" them to the public IP (like
pound.company.tld).
2.) and then...

Service
             HeadRequire "Host: .*marketing.company.tld.*"
              BackEnd
                  Address 192.168.25.25
                  Port 30000
              End
End

Service
             HeadRequire "Host: .*services.company.tld.*"
              BackEnd
                  Address 192.168.25.25
                  Port 28978
              End
End

and so on...that's how I would do it. I believe it's the proper way or
I completely misunderstood you :).

Cheers,
Andreas.

On Fri, Jul 31, 2009 at 4:03 AM, Chris Henderson<[email protected]> wrote:
> I have three virtual hosts on the same IP and I would like to setup
> reverse proxy for them. The first one works fine, not sure how to
> setup the other two.
>
> The following are my internal servers:
>
> http://marketing.company.tld:30000 ------> 192.168.25.25
>
> http://services.company.tld:28978 ------> 192.168.25.25
>
> http://helpdesk.company.tld:39485 ------> 192.168.25.25
>
> The following is my Pound server (which has public IP and publicly
> listed forward DNS entry):
>
> http://pound.company.tld
>
> My pound.cfg:
>
> User "nobody"
> Group "nobody"
> Control "/var/run/pound/ctl_socket"
>
> # Main listening ports
> ListenHTTP
>   Address 0.0.0.0
>   Port    80
>   xHTTP   1
> End
>
> Service
>              HeadRequire "Host: .*pound.company.tld.*"
>               BackEnd
>                   Address 192.168.25.25
>                   Port 30000
>               End
> End
>
> Thanks.
>
> --
> To unsubscribe send an email with subject unsubscribe to [email protected].
> Please contact [email protected] for questions.
>



--
Kind regards,
Andreas Schipplock.

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to