Forum Discussion
Skuba_85554
Nimbostratus
Nov 28, 2007irule help for multiple url's
hi
i have a web server running 40 web sites each with a different public domain name, what's the best way of routing the traffic to them through big ip with irules?
there must be a better way than creating 40 virtual servers which sends the requests on to 40 different groups, for example
i'm thinking irules, but i have little to no experience with them so any help would be greatly appreciated
thanks
- hoolio
Cirrostratus
Hello, - Skuba_85554
Nimbostratus
thanks for your reply aaron - hoolio
Cirrostratus
If all of the servers host the content for all of the web application instances, it would be easiest in terms of BIG-IP configuration to have the instances on the same port on each web server. The web servers would use the host header in the client request to determine which instance answers the request. - Skuba_85554
Nimbostratus
sorry hoolio, i've worked with big ip for a number of years but i've never made use of the host headers and i don't understand what you mean. can you provide a basic example, i.e. 1 virtual server => 1 pool => 1 member - hoolio
Cirrostratus
Host headers are used in HTTP so the client can specify what web application instance they are making a request to. The HTTP host header is described in RFC2616 section 14.23 (Click here). This implementation method wouldn't require any additional configuration within the BIG-IP--you'd just configure a single HTTP virtual server pointing to a pool of the nine web servers on the specific IP:port they listen on.virtual generic_http_vs { destination 1.1.1.1:http snat automap ip protocol tcp profile http tcp pool http_pool } pool http_pool { member 2.1.1.1:http member 2.1.1.2:http member 2.1.1.3:http member 2.1.1.4:http member 2.1.1.5:http member 2.1.1.6:http member 2.1.1.7:http member 2.1.1.8:http member 2.1.1.9:http }
- Skuba_85554
Nimbostratus
that's great. many thanks
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects