Skip to main content

How to access website via IP

Comments

7 comments

  • cPanelMichael
    Hello, Is mod_userdir protection enabled via "WHM >> Home " Security Center " Apache mod_userdir Tweak"? If so, have you excluded protection for the specific addon and subdomain names you want to allow access to? Thank you.
    0
  • Vasanthjan
    Can you help me how to achieve it? Is there any documentation available. and please specify the URL pattern to view the sub-domain which under home directory.
    0
  • cPanelMichael
    Can you help me how to achieve it? Is there any documentation available.

    Hello, You should see a list of domain names when accessing the option in Web Host Manager: "WHM >> Home " Security Center " Apache mod_userdir Tweak" The option is documented at: Apache mod_userdir Tweak - Documentation - cPanel Documentation Is this tweak enabled on your system, and if so, are the domain names in-question excluded from protection? Thank you.
    0
  • 4u123
    As the OP says, can you please clarify the method (if it is possible) to access an addon domain when it is inside the homedir instead of under the public_html directory? By default, using /~username will point you to the public_html directory of that user.
    0
  • cPanelMichael
    Hello, Access attempts through Mod_Userdir outside of the account's public_html directory will fail. You'd need to move the addon domain names document root to the public_html directory, or consider an alternate method of temporarily accessing the domain name. Generally, the better approach is to simply edit the hosts file on the computer accessing the domain name: How to Modify your hosts File - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • 4u123
    In these cases we often recommend to the customer to access their addon domain via the subdomain - i.e
    0
  • Ernesto Dionisio
    this is not working now... due to Detected Apache MPM-ITK in use. Using both mod_userdir and Apache MPM-ITK is not a supported configuration. Changes were not saved. if you uninstall/disable MPM-ITK your websites under whm/cPanel will have CRITICAL ERROR. Any other ideas to fix this issue? My issue I think still the same. I created ex. http://addon.maindomain.com is pointed to A 1xx.2xx.1xx.1 and it's not working. I even tried
    0

Please sign in to leave a comment.