Change apache port to use Varnish on 80

  • marid
  • 04/22/12
  • Offline
Posted: Sun, 2012-04-22 08:35

Hi. I've installed latest Virtualmin on centos 6.

In server template I change port number for virtual hosts to 10080 and next add new virtul server, restart apache but still listen on port 80. What I have to change else?


I edit

  • marid
  • 04/22/12
  • Offline
  • Mon, 2012-04-23 10:28

I edited httpd.conf

Listen *:10080

restart apache but still don't work Of course I have everythig correctly like installed mod_rpaf and configured and running Varnish. This was tested on other hosting panels.


Strange

  • marid
  • 04/22/12
  • Offline
  • Mon, 2012-04-23 11:29

Strange, it started work when edit backend ip in Varnish from 127.0.0.1 to myserverip

Always it works on localhost ip.

Is it save with this configuration?