On a shared server with Composer installed the template for installing Drupal 8 or Drupal commerce creates a project directory and puts the site in a web directory within the project.
On a shared host with a structure like:
with home private tmp ssl web
How do you use composer to install 3 or more Dupal sites like this?
example.com example.com/mystore example.com/dev
If you run the composer install from the web directory /var/www/example.com/web the install paths are:
example.com/projectname/web example.com/mystore/web example.com/dev/web
and projectname, mystore and dev are not a protected directory.
Running composer from /var/www/example.com does not work