How add new virtual host in apache server

Hi people,

I currently use the appliance version of NextCloud.

I would like to add a new virtual host in the apache server trough the webmin webpage.

I have try this

I have change my local Host file and when I try http://test.com I fall in the main default page of Next Cloud →
see next post (i’m limited by one link by post on this forum…)

in the directory /var/www/test/ i have put an index.html file with the root:www-data chmod

any idea ?

The main page I receive instead of my index.html file.