<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello all,<br>I'm completely new to Varnish, if this is a silly question I apologize and ask to please be directed to a newbie forum.<br><br>Anyway, I've a LAMP server on which I'm testing Varnish. Apache is set to port 8008 in ports-conf and 000-default, Varnish is set to listen on port 80 in /etc/default/varnish and told that the backend is on port 8008 in default.vcl. <br><br>Everything seems to be working, Varnishhist and Live Headers confirm that Varnish is caching the frontpage, but clicking on any link redirects the URL to the backend port, bypassing Varnish. <br>E.g. clicking on link from the front page to http://www.mysite.com/mypage.php?item=1234 sends the browser to http://www.mysite.com:8008/mypage.php?item=1234. <br>If I manually enter the URL in the browser without the port number then the page loads through Varnish just fine, but clicking any
 link automatically appends the port number.<br><br>I assume this is a configuration error, any ideas what's going on and how I can fix it?<br><br></td></tr></table>