host server getting the same conents as virtual server

Hi guys,

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 to /home/virtualserver1/public_html, I would be getting the same stuff from the virtualmin server (host). For example, my host name is But will be getting the same stuff as

Do you guys know why?

I would appreciate any inputs.

Kind regards,

Hi guys,

I thank I got the answer as quoted from

"<VirtualHost *:80>
# This first-listed virtual host is also the default for *:80
DocumentRoot “/www/domain”

<VirtualHost *:80>
DocumentRoot “/www/otherdomain”


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.


Hi Eric,

Thank you very much for the info. It is good to know.