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
</VirtualHost>
For a subdirectory web with a test index.html but this doesn’t seem to work. What should I do for this to work?