How to add a subdirectory for own webpages in NCP?

I intended to use NCP as a general home server where I could also run any page I’m working on. I’m not knowledgeable at all of vhosts, before I’ve mostly used preconfigured lampp stack bundles.
I’ve tried to add and enable a basic vhost .conf file such as:

<VirtualHost *:443>
  ServerName web
  DocumentRoot /var/www/web
  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined

For a subdirectory web with a test index.html but this doesn’t seem to work. What should I do for this to work?

I’ve learned how to do this by ignoring vhosts and adding an alias:

Alias /web /var/www/web

allows me to escape Nextcloud’s redirection and do what I intended to do.