New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Setting up varnish with virtualmin
Hi,
I'm trying to setup varnish in front of apache on virtualmin. But no matter what setup I use when I load up any of the domains in my browser it just takes me to the default domain. I've found quite a few different configs on google but none of them has fixed it. I'm trying to get varnish to work for all the domains I have with apache. Does anyone know how to get it working?
Comments
/Thread
Figured it out XD
care to share?
http://www.servermom.org/install-varnish-3-to-run-with-apache-2-on-centos-server/552/
I used that guide but setup apache on the external public ip of my server and port 8080. Varnish is running on port 80. Works perfectly if you change the ports per virtual server to 8080 http and edit the apache httpd.conf in virtualmin (for the whole server ie. in webmin) to listen on port *:8080 instead of *:80. If you do it be sure to set varnish in virtualmin to start on boot up (from webmin > boot up and shutdown)