pool selection based on the subdomain

We have:

apple.site.com

orange.site.com

when the sub domain is apple we want to send traffic to apple_pool

else we want to send traffic to orange_pool

What can I use for HTTP:: ? to look for apple or orange ?

Thanks

Look into HTTPCLASS profiles, they can match based on host header and traffic can be directed to different pools etc.