How do I change the port that the control panel listens on? Currently it is 8080 but I want to change it to a different port. Google failed to find out how to do this. Thanks
see whether this help /usr/local/ispconfig/server/conf/ this two files: vhost.conf.master apache_ispconfig.conf.master
Thanks kkng and till but I'm still unable to change the port. I now have two instances of ispconfig3 on different debian lenny boxes. The first one was set up with the default port 8080 selected during installation. The second one was set up with port 50 selected during installation. Both were set up using the procedure at http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3 and both are working properly as far as I can tell. The control panel works fine at http://192.168.1.120:50 on the second box. Now I want to change the first box from 8080 to something else, say 51. I don't want to reinstall it because it's in use for web services. I'm the only person who uses the control panel. I searched the contents of these files on both boxes /usr/local/ispconfig/server/conf/vhost.conf.master /usr/local/ispconfig/server/conf/apache_ispconfig.conf.master It wouldn't surprise me if I misunderstood something but I cannot find 8080 or 50 in either file on either box. Regards
Thanks for your help falko In case it's of use to others, here's what I did to change the port to 51. 1. Add the new port to System Firewall in the control panel. Don't forget to Save. 2. Check with nmap that the new port is available (closed). 3. Edit three lines in /etc/apache2/sites-available/ispconfig.vhost Listen 51 NameVirtualHost *:51 <VirtualHost _default_:51> 4. restart apache2 /etc/init.d/apache2 restart 5. Find the control panel at the new port. After completing the procedure up to here I got a bit worried that in Monitor it showed up in red that the web server was offline. However this problem disappeared after a few minutes and everything is now working fine. Maybe the control panel takes time to update after the apache2 restart. 6. Remove the old port from System Firewall in the control panel. Don't forget to Save. At this stage I was a bit concerned to see a popup message "Sorry there was an Error" Closing and restarting the browser access to the new port cured that. 7. Check with nmap that only needed ports are open. 8. Check that the services are working correctly at the new ports. Comments on this procedure are welcome, particularly if I'm likely to find anything else that was broken as a result of doing it. Regards