Not even sure how to title this one.
I have my main account, and I have add-on domains.
The add-on domains are added as subdomains and accessible via:
http://www.<addOnDomainName>.<mainAcctDomainName>.com
AND
http://www.<addOnDomainName>.com
In the file structure of my main acct, the add-on domains are folders in the root main acct folder:
/public_html/<addOnDomainName1>/
/public_html/<addOnDomainName2>/
All pages or scripts in my main acct root dir /public_html/ seem to be able to access any of the add-on domains as if those folders were just a regular part of my main acct domain.
Example:
A web page here:
/public_html/mypage.html
Can use:
'<img src="<addOnDomainName1>/images/animage.jpg">'
To get an image from the add-on domain's image folder.
This access did not extend across add-on domains though, if I have a page or script in:
/public_html/<addOnDomainName1>/
It was not able to access files in:
/public_html/<addOnDomainName2>/
via path:
'../<addOnDomainName2>/images/animage.jpg'
Is it intended behavior that the main account's web pages and scripts treat the add-on domain folders as it's own?