I am experiencing the Virtualmin. It worked great on CentOS 6.6 on my server. But When I upgraded to CentOS 7.0 (fresh installation), I am having issue with the Virtualmin. When I created the first virtual server and uploaded the contents to the virtual server, lets say virtualserver1.com to /home/virtualserver1/public_html, I would be getting the same stuff from the virtualmin server (host). For example, my host name is web.example.com. But web.example.com will be getting the same stuff as virtualserver1.com.
"<VirtualHost *:80>
# This first-listed virtual host is also the default for *:80
ServerName www.example.com
ServerAlias example.com
DocumentRoot “/www/domain”
You can set what domain is the default domain by going into Server Configuration -> Website Options, and there, set “Default website for IP address” to “Yes” for the domain that should be the default.