My hosting provider requires that my primary domain (let's call it domainX.com) points to my public_html root. I also own several other domains (let's call them domainY.com and domainZ.com) that are hosted in subdirectories such that they can be accessed via http://domainX.com/domainY/ and http://domainX.com/domainZ/
I would like to restrict people from accessing these secondary sites in this way. Ideally, there will be no indication that the secondary sites are in any way related to the primary domain. How do I do this? Modify the .htaccess file?
Thanks for any help!