Service
 Url         "monkey.nextengine.com.*"

 BackEnd
    Address  155.132.55.32
     Port  ????
 End
End

Service
 Url         "elephant.nextengine.com.* "
   BackEnd
     Address  155.132.55.35
     Port  8081
   End

End

#anything else will goto ?
Service
  BackEnd
    Address  127.0.0.1
    Port  8081
  End
End



On 19/09/2007, Pete DeLaurentis <pete@nextengine.com> wrote:
Hi guys,

Does anyone know how to route based on subdomain specified in the URL?

I have two subdomains pointing to one server running pound as a load
balancer (155.132.55.32).  The load balancer also functions as a
development test server box.

Here's the desired mapping:

monkey.nextengine.com   => 155.132.55.32
elephant.nextengine.com  => 155.132.55.34, 155.132.55.35

Note: names + IP addresses have been fictionalized, and no animals
were harmed in the making of this example

Any advice is much appreciated.

Thanks,
Pete DeLaurentis
NextEngine, Inc.

--
To unsubscribe send an email with subject unsubscribe to pound@apsis.ch.
Please contact roseg@apsis.ch for questions.