Hello all!
I have a main domain and an addon domain. AddonDomain.com physically resides in /public_html/addondomain/ of MainDomain.com's document root.
Currently, there is no problem accessing AddonDomain.com, but it can also be accessed by going to either MainDomain.com/addondomain/ or addondomain.MainDomain.com.
How can I redirect any form of the latter two requests to AddonDomain.com?
Thank you in advance.