Skip to main content

Restrict Access to Addon Domains through the Main Domain

Comments

3 comments

  • webhostuk
    I guess that cannot be done though WHM, you will have to go with .htacess rules to restrict the access.
    0
  • kodyxgen
    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
  • cPanelMichael
    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.