Hi
@ckissi
There is no cli for creating a virtual host per se, but if you have an example vhost you can work with, you can create a script for it.
The minimum requirements are:
1. vhost configuration file under /usr/local/lsws/conf/vhosts/NAME
2. vhost directory
3. server config - only a small section needs to be appended.
The configuration file can be based on another configuration file (remember to check the file ownership/permissions)
The only thing to do after that is to create a vhost mapping for the vhost.
Let us know how it goes!
Cheers,
Kevin