Eric_Hartwell_1
Apr 11, 2014Nimbostratus
irule for selecting a node based on a url
We are doing some web hosting where customers come in on customer1.com, customer2.com, etc. We CNAME them to shared.hosting.com which has a corresponding wideIP. Can we have an irule that selects which node they connect to based on the incoming URL they provide? I saw this: https://devcentral.f5.com/questions/114-node-pool-select-according-to-domains-list and wanted to know if a datagroup could be the solution. Can you have more than one URL referenced in a data group to point to their individual nodes?
thanks in advanced.
The iRule and solution Kevin provided in that link looks to be exactly what you need. And yes, you can reference more than one URL in the data group to point to the same node.