WHM HTTP error 401 You do not have permission

Written by Yujin Boby

Edit in WordPress

When I access WHM of a server, I got the following error message

HTTP error 401
You do not have permission to access this page.

WHM HTTP error 401

This is because WHM access is disabled using Host Access Control.

To access WHM, I edit filed

vi /etc/hosts.allow 

Added my IP address to whostmgrd entries.

whostmgrd : 12.38.22.16 : allow
whostmgrd : 51.38.246.115 : allow
whostmgrd : ALL : deny

Back to Cpanel Server