Forum Discussion
Jason_Peery_467
Apr 30, 2012Nimbostratus
Guidelines for pointing to one web server with many Virtual Sites
Hi all, am looking for advice, suggestions, or reference to best practice for fronting a single web server, with many virtual sites with a BigIP LTM. Do I just set up a virtual server for each site and point it and let the apache instance funnel the request based on the url?
Thanks!
Jason
- HamishCirrocumulusSoftware virtual servers? As in multiplexed by name? If so, it's one VS...
- Jason_Peery_467NimbostratusAh, sorry to be so vague, what I mean is an Apache instance (one only) that has a number of virtual server definitions on it, basically it's a "content" server with a number of marketing websites. I was just wondering how best to configure the F5, in that should I use an iRule, or anything, or just set up a virtual server on the F5 for each instance on the web server...
- TechgeeegNimbostratusHi guys Jason & Hamish,
- HamishCirrocumulus1 more bit... Virtual servers configured on same ip:port (i.e software virtual servers using the host: header) or separate ip/port for each?
- Jason_Peery_467NimbostratusHere's a paste from the httpd.conf:
- John_Matlock_42NimbostratusI'm a windows guy, but if Apache will handle the requests properly based on the host header you should only need one VIP and the apache server should provide the content for that url. Hope I'm understanding the question properly.
- Jason_Peery_467NimbostratusThat's kinda what I was thinking, that basically the BigIP will just flow traffic as normal with one VS, but our architecture typically (for logical reasons) separates on a one-to-one basis of BigIP Virtual Server to each individual instance on the web server. I just wasn't sure if this is standard, best practice, etc? Perhaps it would be better to go and create a unique port for each site and make a VS on the BigIP to each port...?
- John_Matlock_42NimbostratusHonestly, I don't think there's a need to overcomplicate the architecture unless there are requirements I'm missing. A config like the following should work, and I've seen this done with sharepoint farms:
- Jason_Peery_467NimbostratusPerfect, 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