IP instead of * in apache .conf

SYSTEM INFORMATION
OS type and version Linux 6.12.43+deb13-amd64 on x86_64
Webmin version 2.610
Virtualmin version 7.50.0 GPL
Webserver version Apache/2.4.65 (Debian)

We set up this box ~2 month ago.
Ran until now without any issues.
Today we added a new vhost: ALL (!!!) hosts on this box showed the newly added hosts content, HTML, PHP! :face_with_crossed_out_eyes:

Cause: virtualmin wrote the IP into the .conf file of the newly added host, which never happened before, no IP in any previous .conf files.

With the IP present in the one .conf webserver - of course - servers this hosts files to ANY request to this servers IP. We manuall replaced the IP w. *:80 and *:443 and things work fine again.

In previous versions of virtulamin we had a setting at:

Edit System Settings | Virtualmin Configuration | Defaults for new domains | Address format for Apache virtual hosts…: Always use *
…which doesnt seem to exist any more?

Q: where is the setting that will prevent the servers IP to be written into the Apache .conf files of newly added hosts?

Cheers,
Hans

Edit: just saw related topic - apache_star=0 here

Was there any existing virtualhost with an IP instead of a * ? If so, Virtualmin will use an IP for new virtualhosts, in an attempt to avoid this kind of failure mode.

Actually if you can reliably reproduce this, remote access to your system so we can see what is going on under the hood would be really useful!

The issue is fixed here:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.