Request: Tutorial for installing Varnish with i-mscp

  • At last its working well with vBulletin unfortunately I can't login to I-mscp administrative panel.


    I think the configuration of new i-mscp isnt compatible with the tutorial

    Edited once, last by Akangage ().

  • Hi,


    i tried to use this integration but now i don't have access to the preview-websites. what do i have to do to get this thing working?

  • @MasterTH


    You have to use google, your brain, think, use google again and maybe, you'll find the solution ;)


    BTW: When you are posting on our forum, keep in mind that we are not your teachers. You must learn by yourself and not ask us for a ready solution.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • well said.


    @MasterTH check probably the master.vcl file, perhaps you forgot to replace "somedomain.com" and "anotherdomain.com" etc. with your domain(s). that is just an example file. you need an entry for any domain you want handled (or not handled).

  • Thank you narking for your tutorial,
    I tried it but I have two different problem:
    - the first one is that it doesn't recognize your master.vcl file, this is the error:
    Aug 24 23:01:41 tiger varnishd[18215]: Error:
    Aug 24 23:01:41 tiger varnishd[18215]: Message from VCC-compiler:
    Aug 24 23:01:41 tiger varnishd[18215]: Expected an action, 'if', '{' or '}'
    Aug 24 23:01:41 tiger varnishd[18215]: ('/etc/varnish/imscp/master.vcl' Line 3 Pos 2)
    Aug 24 23:01:41 tiger varnishd[18215]: remove req.http.X-Forwarded-For;
    Aug 24 23:01:41 tiger varnishd[18215]: -######--------------------------
    Aug 24 23:01:41 tiger varnishd[18215]: Running VCC-compiler failed, exited with 2
    Aug 24 23:01:41 tiger varnishd[18215]: VCL compilation failed



    - the second one it's so normal that I can't understand why I'm the only one reporting this issue :) obviously because I've made some mistake i think :)
    In apache .conf file now we have:
    VirtualHost public_ip:81
    but in default.vcl we have:
    backend: localhost :81
    so now for every site that i try to visit with varnish I always display the apache default page, and this is normally because on localhost:81 we didn't have any virtual host configured.
    How do you superseed to this?
    thank you very much.