<div dir="auto">Note: please keep the mailing list CC'd<div dir="auto"><br></div><div dir="auto">Check the host header you are sending to the backend. Usually, a 404 arises because the URL and/or the host wrong.</div><div dir="auto"><br></div><div dir="auto">I'm thinking you possibly tested varnish requesting something like <a href="http://localhost/your/test/file">http://localhost/your/test/file</a>, but your backend isn't configured to reply to the "localhost" host</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019, 08:55 Varun Nath <<a href="mailto:varunnath86@gmail.com">varunnath86@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Thanks again for the quick response. <div>I have checked the log and getting the expected IP address in <b>BackendStart </b>parameter. Sorry I didnt get what you mean by you need to change <b style="font-style:italic">the host header before sending the request to the backend. </b>Could you please elaborate a little bit?</div></div><div><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019 at 2:20 PM Guillaume Quintard <<a href="mailto:guillaume@varnish-software.com" target="_blank" rel="noreferrer">guillaume@varnish-software.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Use varnishlog -b (with possibly -d) to see the backend transactions and see what IP is being used (is it the right one). It could also be that you need to change the host header before sending the request to the backend.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019, 08:39 Varun Nath <<a href="mailto:varunnath86@gmail.com" target="_blank" rel="noreferrer">varunnath86@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div>I need to connect to a remote host from local VCL config file. I have added the backend config as below</div><div><br></div><div>backend default {<br> .host = "<a href="http://remote.host.com" rel="noreferrer noreferrer" target="_blank">remote.host.com</a>"; <br>}</div><div><br></div><div>But am getting Page not available message. Do I miss something?</div><div>Thanks in advance<br clear="all"><div><br></div>-- <br><div dir="ltr"><span></span>VARUN NATH A V</div></div></div>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" rel="noreferrer noreferrer" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><span></span>VARUN NATH A V</div></div></div>
</blockquote></div>