We have got Centos 6 installed with Virtualmin. We set the hostname in the install as testserver.com
We can then goto https://www.testserver.com:10000 to get to virtualmin. This work ok but if you goto www.testserver.com you get Index of /
Name Last modified Size Description
Is there a way to switch directory browsing off? If we wanted to put a webpage where is this pointing as there is no created servers?
Anytime a domain’s IP resolves to your server, but Apache isn’t configured to host that domain – Apache will show the default Virtual Server, which is the first domain configured in Apache.
Once you add a Virtual Server, you can set which one is the default by going into Server Configuration -> Website Options, and set Default Server for IP address.
Ok thanks for the reply now I know what i need to do.