I have an add-on domain in my cPanel website. The root directory for it is under the root of the hosting. How can I prevent access through the main domain?
addondomain.com is configured to serve up files from
public_html/addondomdain. How do I prevent people seeing the files at
maindomain.com/addondomain and only when viewing them at