All websites pointing to new sub server (subdomain)

SYSTEM INFORMATION
OS type and version AlmaLinux 9.6
Virtualmin version 7.50.0 GPL

Hello

  • I usually create new sub server, DB and DB user through remote.cgi curl call
  • This morning, I created a new sub server but some now all my websites are now pointing to that new sub server
  • I am not sure what has caused this and how to fix it back

What I have tried:

  • Thinking it might be aching issue, I have restarted my VPS but no luck
  • Tried to look into website configuration, all settings are still intact, so not sure what to do

I would realy appreciate if someone can help me with this.

Found the root cause, but need your help in fixing this issue for future please.

  • /etc/httpd/conf/httpd.conf had the new entries for the sub server incorrectly with the IP address instead of *
  • I replaced the IP address with * as with all other entries in this config and the websites have started working

I have been using remote.cgi process to create sub servers but was never hit by this issue in the past, is there something I should changed in my default settings?

Setting apache_star=2 fixed the issue for me, I followed this thread: https://forum.virtualmin.com/t/creating-new-subserver-breaks-apache-configs-after-latest-updates-ip-inserted-into-vhost-config-file/135585

1 Like

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