Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In IIS, it is possible to listen for many DNS names on one IP address and port and then direct users to different websites based on the DNS name.

Is the same thing possible with F5 Big-IP devices?

share|improve this question
up vote 3 down vote accepted

Yes. This can be done with either HTTP Class profiles or an iRule on the virtual server you are configuring.

A sample iRule to get you started would look something like this:

   if { [HTTP::host] eq "" } {
         pool mydomain_Pool
      } else {
         pool other_Pool

I suggest using F5's DevCentral site at

share|improve this answer
+1 for DevCentral. It rocks. – sysadmin1138 Mar 22 '11 at 16:14
Thanks, I thought it must be possible. Someone on the network team who manages the F5 servers in my company told me it wasn't! – Techboy Mar 22 '11 at 17:06
HTTP Class profiles are deprecated in 11.4 and you will need to use a Local Traffic Policy going forward. – James Shewey Mar 1 '15 at 18:35

This is possible, though it requires writing iRules for them and associating the iRule to the virtual server. I don't believe there is a GUI way to do this.

share|improve this answer
If you're interested in doing it via a GUI form, check out the HTTP Class profiles. – micah Mar 22 '11 at 15:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.