Symbolic link two domains/subdomains to same directories?
I'm building a site to host on a droplet with a somewhat unconventional file structure and I'm not sure how to go about setting up the files.
Basically, I have two domains: domainA.com and domainB.com. On domainB, I also have many subdomains for different people. Each subdomain will have its own index, cusomtized with information for each person, but then all of the other pages are the same for each site.
So, domainA.com/work, domainB.com/work, and person.domainB.com/work will all pull from the same files.
I don't want a redirect because I want the domain name to stay the same (it will confuse people if it changes).
From research I think symlinks might do what I want, but I really have no clue, and can't find any documentation on doing something like this (I'm not super familiar with using the command line).
I also want to try and avoid just copying all of the directories to each subdomain for SEO and logistical purposes.
Any help would be much appreciated!!!