I am trying to install OpenCart. I change the ip address in my router and when I go to my website URL I get the public index.html. I noticed
thatwhen setting up the virtual server for my website there wasn’t the option to set the top level directory.
Really not useful. but within Virtualmin this can be done or you could do it the old fashioned way with a html redirect or depending on which webserver you are using (we can only guess) a proxy.
Well done @stefan1959 for guessing a script install