Hi, Is there a setting in ISPConfig to change ispconfig.vhost IP address that it listens to, to localhost. From Code: Listen 8080 NameVirtualHost *:8080 <VirtualHost _default_:8080> To this Code: Listen 8080 NameVirtualHost 127.0.0.1:8080 <VirtualHost 127.0.0.1:8080> Without having to manual do it after each upgrade or resync ?
No. You don't have to manually edit that file after updates if you implemented you change by using the conf-custom config file overrides in ISPConfig.
Hi Till thanks for the reply. This is only for ispconfig.vhost not my other vhost's. If i understand correctly you take the /usr/local/ispconfig/server/conf and copy them to /usr/local/ispconfig/server/conf-custom ? If so i only see a vhost.conf.master and that is for all sites.
Copy the file install/tpl/apache_ispconfig.vhost.master from ispconfig tar.gz file to /usr/local/ispconfig/server/conf-custom/install/ folder and edit it.
I copied and edit the file and done a ispconfig_update.sh --force Interestingly the ispconfig setup gave me a new option Code: Do you want to rename these conf-custom templates now so the default templates are used? (yes,no) [no]: After update i saw my /etc/apache2/sites-available/ispconfig.vhost has been change to the new custom config. Thank you Till, this has opened up new possibilities for me and hope others will find this post useful.
So all domains on server don't access panel on port 8080 use proxy to panel.example.com to access ISPConfig panel
You could also close port 8080 in the firewall, so if the vhost changes for any other reason (for example when we update the CSP), you don't have to apply this manually.