Allow access to cPanel and website for one specific IP?

mwabini

Member
Apr 27, 2019
6
1
3
Kenya
cPanel Access Level
Root Administrator
Hello,

Am looking for a way to allow a user to access cPanel only via a specified IP address and prevent access from all other IPs. I would also want emails and the website to be inaccessible but for the specified IP.

The scenario I have is that I have an account that's abusing terms, say by spamming. I need my client to fix their site. So I'd like them to be able to access cPanel but anyone else should be unable to access the site, emails or cpanel because their IP is blocked. This will allow the user to fix the issue and once through, they can let me know so I confirm the issue is fixed and restore access. Basically, I want all services to be suspended sort of, except access for a specific IP - so that if its a spamming site, when I unsuspend it for the user to fix it, it wont bring harm to my server for the shortwhile its been fixed.

Is there a way to achieve this via ACL or any other way for cPanel/WHM server?
 

httpdocs

Well-Known Member
Mar 9, 2018
59
9
83
United States
cPanel Access Level
Root Administrator
Follow This
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,263
313
Houston