Skip to main content

Cannot access WHM and SSH/root after an editing in Host Access Control

Comments

2 comments

  • afndeveloper
    Hello, I have a major problem and I am at my wit's end. First, I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost access all of them. Now, If I try to log in WHM, I see "HTTP error 401 You do not have permission to access this page.". Also, I cannot access SSH. I don't know what to do. Please help me. Thank you.
    0
  • TerranceR
    Hello, You will need to gain console access to your server and edit/update /etc/hosts.deny and /etc/hosts.allow to update your settings. If you do not have console access then you will have to contact your Hosting Provider or Datacenter to have them do this for you.
    0

Please sign in to leave a comment.