[Virtualmin] redirect to /var/www/html/ suddenly

Hello everyone, I am new to here.

Yesterday, I tried to add sub-server webmail.xxx.com (I don’t know if it is need, but I cannot access it). However, it hanged in the middle and I stopped the process. Everything was fine after that.

Today, when I browse my domain or IP of my server in browser, it shows Forbidden. I believe it redirects me to default public path /var/www/html/ as it cannot find the index.php. The Virtualmin access, www.xxx.com:10000, is not working at the same time.

I googled a lot about this issue but I cannot find any clue. Could anyone help for this?

error.log

[Thu Oct 13 06:25:11.600032 2016] [mpm_prefork:notice] [pid 1680] AH00163: Apache/2.4.18 (Ubuntu) SVN/1.9.3 mod_fcgid/2.3.9 OpenSSL/1.0.2g configured – resuming normal operations
[Thu Oct 13 06:25:11.600083 2016] [core:notice] [pid 1680] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Oct 13 14:40:43.298930 2016] [mpm_prefork:notice] [pid 1680] AH00169: caught SIGTERM, shutting down
[Thu Oct 13 14:41:20.857365 2016] [suexec:notice] [pid 1683] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Oct 13 14:41:20.868856 2016] [so:warn] [pid 1683] AH01574: module dav_module is already loaded, skipping
[Thu Oct 13 14:41:21.105411 2016] [mpm_prefork:notice] [pid 1699] AH00163: Apache/2.4.18 (Ubuntu) SVN/1.9.3 mod_fcgid/2.3.9 OpenSSL/1.0.2g configured – resuming normal operations
[Thu Oct 13 14:41:21.105457 2016] [core:notice] [pid 1699] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Oct 13 14:51:55.365054 2016] [mpm_prefork:notice] [pid 1699] AH00169: caught SIGTERM, shutting down
[Thu Oct 13 14:51:56.448248 2016] [suexec:notice] [pid 2795] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Oct 13 14:51:56.451692 2016] [so:warn] [pid 2795] AH01574: module dav_module is already loaded, skipping
[Thu Oct 13 14:51:56.512826 2016] [mpm_prefork:notice] [pid 2796] AH00163: Apache/2.4.18 (Ubuntu) SVN/1.9.3 mod_fcgid/2.3.9 OpenSSL/1.0.2g configured – resuming normal operations
[Thu Oct 13 14:51:56.512882 2016] [core:notice] [pid 2796] AH00094: Command line: ‘/usr/sbin/apache2’

The virtual hosts are back after I disable the webmail.xxx.com by running a2dissite. The issue is really come from it.
I don’t know if I can say the problem is fixed. I want to remove the webmail.xxx.com entirely.

Howdy,

I suspect you might be seeing the issue described here:

https://www.virtualmin.com/documentation/web/troubleshooting#toc-the-wrong-site-shows-up-V5JtxdKg