How to create sub-directory based multi-site?
You can modify the site names in the file sites/site.php

$sites = array(
  'site1.your-multisite.local' =&gt; 'website1',
  'your-multisite.local.site2' =&gt; 'website2',
);


Also update the settings.php file of each subdomain with the credentials of respective sites.

Also need to update the site url from the host settings.

 ServerAlias    *.your-multisite.local your-multisite.local.*