1) If you want to duplicate (replicate, clone) the master website into a subdirectory, you have to use the rule
replicMasterSubdir
In other word "Replication of the Master website into a Subdirectory).
2) You don't have to create the directory.
There is a checkbox in the rule that allow creating the directory when it does not already exists.
3) As you cars.com is located on /home/cars/public_html
then yes the subdirectory will be /home/cars/public_html/factory
4) You mentioned that you want to have all the user that come to the master and want to create website from the front-end.
The rule to share the user is
- shareMasterSudir
See also the tutorial video 16
www.jms2win.com/en/tutorial#jms12x-16
This rule can NOT be use as such for the website creation from the front-end.
You have to add parameters for that and when sharing the users this become more complex because you can not modify the user logged to provide the Super Admin user - OR this will give the super admin to all the website.
1) The directory structure for a subdirectory is the same as described above.
2) There is no pre-defined rule for the website creation from the front-end.
See the tutorial video 14.b, 14, 13.b, 13 that show how to create website from the front-end.
Those rule present in the video use the replication and not the sharing of the users because you will probably not accept that all the users become super admin of all the websites.
www.jms2win.com/en/tutorial#jms13x-14b
www.jms2win.com/en/tutorial#jms12x-14
www.jms2win.com/en/tutorial#jms13x-13b
www.jms2win.com/en/tutorial#jms12x-13
Create website from the front-end that in the same time share the users between the webstie require that you use the "Partial User Sharing" and also have a specific development to automiatically customize the user permission depending on the website.
We already did such kind of specific development for some customer but there is no pre-define rule that do that.
If you don't share the users between the website, you can create a variant of the replicMasterSubdir in which you add the "group" and also ensure that you have a rule for all the (*) in red.
You will have to also add the wait to compute a new site id from the front-end
To create a rule based on the "factory", you can use the "new like" button to create a new rule like the replicMasterSubdir (or shareMasterSubdir) that you will call replicFactorySubdir and where you will change from which website you want to perform the replication.