Varnish in front of apache with name and ip based virtualhosts

Mehul Ved mehul at
Wed Nov 2 11:02:38 CET 2011

   I have been reading up on various sites, documents but am not able to
figure out how to set up varnish to work with my setup.
Here's how is my apache configured:
1. Apache runs on port 80 currently and listens on 3 IP addresses:
x.x.x.91, x.x.x.92 and x.x.x.93
2. Only one site on runs x.x.x.92 and x.x.x.93, each. But, multiple
websites are configured on x.x.x.91.

As of now, I am running varnish on a higher port with only default backend
configured in default.vcl

backend default {
  .host = "";
  .port = "80";

With Regards
Mehul Ved
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list