Only Login WHM from Primary IP Address

b4umelody13

Registered
Mar 3, 2013
2
0
1
cPanel Access Level
Root Administrator
Hi

I have 2 IP address .....Primary IP use only for WHM and Secondary IP use for Hosted my One website.

Can be possible WHM root Login access only from primary IP Address

Example :

1st IP - 222.111.111.555
root login access allowed from 222.111.111.555/whm

2nd IP : 222.344.444.666
root login access disallow from 222.344.444.666/whm

Because I try root login from 222.344.444.666/whm (Secondary IP )and I can't believe .It's login successfully .
 
Last edited:

ruzbehraja

Well-Known Member
May 19, 2011
392
11
68
cPanel Access Level
Root Administrator
Hi

I have 2 IP address .....Primary IP use only for WHM and Secondary IP use for Hosted my One website.

Can be possible WHM root Login access only from primary IP Address

Example :

1st IP - 222.111.111.555
root login access allowed from 222.111.111.555/whm

2nd IP : 222.344.444.666
root login access disallow from 222.344.444.666/whm

Because I try root login from 222.344.444.666/whm (Secondary IP )and I can't believe .It's login successfully .

You are looking for Host Access Control in WHM.

Host Access Control

Host Access Control allows you to set up specific rules to allow or deny access to your server and services on it based on the IP address that is attempting to connect. It is general practice that denying all connections and only allowing connections that you wish to proceed is the most secure way to use Host Access Control.
Take care when using it so that you dont lock yourself out of your server.