I have installed varnish on my test and production server.<br><br>I have many subdomains that are used<br><br><a href="http://tastykhana.in">tastykhana.in</a> - for users of our site.<br><a href="http://client.tastykhana.in">client.tastykhana.in</a> - for our clients which requires authentication.<br>
<a href="http://admin.tastykhana.in">admin.tastykhana.in</a> - for our call center which requires authentication.<br><br>After setting up varnish the user site <a href="http://tastykhana.in">tastykhana.in</a> worked perfectly but the subdomains started redirecting to the parent domain <a href="http://tastykhana.in">tastykhana.in</a>.<br>
<br>How do i prevent the subdomains from caching? as they require authentication and i have also added the check for Cookies which passes the request directly to backend server apache.<br><br>I have also attached a copy of my configuration.<br>
<br>Regards,<br>Sheldon <br>