Howdy,
When I create a new virtual server or sub-server this is how
“Webmin -> Apache Webserver -> Existing virtual host” looks like this.
Virtual Server Any 80 medlk.myolddomain.com /home/abcd/domains/medlk.myolddomain.com/public_html
Virtual Server Any 80 mydocs.myolddomain.com /home/abcd/domains/mydocs.myolddomain.com/public_html
Virtual Server 128.xxx.xxx.334 80 test.myolddomain.com /home/abcd/domains/test.myolddomain.lk/public_html
The problem is on the third line of the above code. Instead of “Any 80” is shows “128.xxx.xxx.334 80”.
WORKING SOLUTION
After creating a virtual server every time I have to go to /etc/apache2/sites-available
and edit the “*.conf” file related to the particular virtual server.
Changes I made,
Find <VirtualHost 128.xxx.xxx.227:80>
and changed it to, <VirtualHost *:80>
If SSL enabled,
Find <VirtualHost 128.xxx.xxx.227:443>
Changed it to, <VirtualHost *:443>
PROBLEM
What changes should I make in Virtualmin to add " * " instead of the “IP address” in the “*.conf” file of apache?
Thank you.