I’ve installed Debian 12 on a fresh VPS.
I’ve run the installation command and it was succesful. I’ve installed version Virtualmin Virtual Servers Version 7.40.0
When I log in and complete the wizard, it shows:
**Warning!** The Apache configuration on your system has errors! This will prevent any new domains from being fully added by Virtualmin until the errors are fixed.
AH00526: Syntax error on line 3 of /etc/apache2/ports.conf: Cannot define multiple Listeners on the same IP:port Action 'configtest' failed. The Apache error log may have more information.
Thank you, that seems to work. I’ve removed the double lines from ports.conf (not sure if that’s necesarry and
I’ve removed the file
0-.conf from /etc/apache2/sites-available and /etc/apache2/sites-enabled and now the error is gone.
Both of these issues, like the incorrect port declaration in ports.conf and the Apache site config not clearing after an SSL request for the hostname during the initial installation, are related to a bug in the current Virtualmin Config v7.0.21.