I have many wordpress sites as subdirectories on a few accounts.
I can use the site url settings and the .htaccess file in the root to let any one use the domain name. Or, I can access all of them as subdirectories of the domain.
I have a domain called foursticks.net. A wp install in a folder called foursticks is using that domain name, and the url looks like this:
https://www.foursticks.net/
because I have:
WordPress Address (URL)
https://www.foursticks.net/foursticks
Site Address (URL)
https://www.foursticks.net
I also have a wp site called OldSchooKenpoKarate on the same account.
with a url that looks like this:
https://www.foursticks.net/OldSchooKenpoKarate
I could do the same with it, but it’s just a demo site so I wouldn’t want it to use the domain. So it’s settings are:
WordPress Address (URL)
https://www.foursticks.net/OldSchooKenpoKarate
Site Address (URL)
https://www.foursticks.net/OldSchooKenpoKarate
But, they are on the same hosting account, same server and ftp as far as I know. I don’t know as much as I should about my hosting…