Restrict Access to Addon Domains through the Main Domain
Hello,
is there a way to restrict access to addonDomain through the main domain?
Can i do somthing on WHM level so this change affects all my cPanel client accounts?
Thank you!
-
I guess that cannot be done though WHM, you will have to go with .htacess rules to restrict the access. 0 -
Hi, Thank you for your replay, i know that i can redirect addon-domain.main-domain.com to addon-domain.com from .htaccess but i was thingking that someone know a better way than go in every account and every addon domain and put this in the htaccess file :( There must be a better way for this :) 0 -
is there a way to restrict access to addonDomain through the main domain?
Hello, Could you provide a specific example of how you want to restrict access? Or, are you asking if .htaccess rules within the public_html directory apply to your addon domain names, located inside or outside of the public_html directory? Thank you.0
Please sign in to leave a comment.
Comments
3 comments