title: Squid server - multiple originservers with different domains
body: <p>I have 2 squid servers load-balanced with F5 LTMs set up as a reverse proxy.</p>
  
  <p>My problem:</p>
  
  <p>origin server A hosts domains 1, 2, and 3
  origin server B hosts domains 4 and 5.</p>
  
  <p>how can I set up squid so that it will cache all vhosts for both servers?</p>
  
  <p>my current config:</p>
  
  <pre><code>cache_peer serverA parent 80 0 round-robin no-query originserver login=PASS
  </code></pre>
  
  <p>If I add a second line:</p>
  
  <pre><code>cache_peer serverB parent 80 0 round-robin no-query originserver login=PASS
  </code></pre>
  
  <p>it only caches domains on serverB, requests for serverA content generate 404 errors.</p>
  
  <p>I don't use squid a whole lot, and all help is appreciated. thanks.</p>