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.
AH00112: Warning: DocumentRoot [/home/._hostname/public_html] does not exist
AH00112: Warning: DocumentRoot [/home/._hostname/public_html] does not exist
AH00526: Syntax error on line 47 of /etc/apache2/sites-enabled/0-vmi2804270.contaboserver.net.conf:
SSLCertificateFile: file ‘/etc/ssl/virtualmin/175761053951275/ssl.combined’ does not exist or is empty
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.
AH00112: Warning: DocumentRoot [/home/._hostname/public_html] does not exist
AH00112: Warning: DocumentRoot [/home/._hostname/public_html] does not exist
AH00526: Syntax error on line 47 of /etc/apache2/sites-enabled/0-vmi2804270.contaboserver.net.conf:
SSLCertificateFile: file ‘/etc/ssl/virtualmin/175761053951275/ssl.combined’ does not exist or is empty
I just did a fresh install of Virtualmin on Ubuntu 24.04 and the apache service would not start. The ports.conf file looked like this (replaced my IP with “111.111.111.111”):
You just need to remove the duplicate Listen directives from /etc/apache2/ports.conf. Keep only one Listen 80 and one Listen 443 (plus the specific IP lines if you need them). After editing, restart Apache with systemctl restart apache2.
All I did is install Ubuntu minimal, install Virtualmin, log into the web interface, and go through the initial setup wizard with all defaults. The apache service was stopped and would not start.