Varnish in front of apache with name and ip based virtualhosts

Mehul Ved mehul at
Wed Nov 2 12:40:17 CET 2011

Thank you Stewart and Andreas for your responses.

On Wed, Nov 2, 2011 at 4:29 PM, Andreas Plesner Jacobsen <apj at>wrote:

> On Wed, Nov 02, 2011 at 10:19:25AM +0000, Stewart Robinson wrote:
> > Make your backend definition point at the 3 ip addresses you are using
> > or additionally make apache listen on 127...
> And use server.ip to select the backend in varnish

I created 3 backends. Backend is selected on basis of server.ip as defined
in vcl_recv.
It seems to be working as of now. Will confirm again once I am go live with

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

More information about the varnish-misc mailing list