Friday 2 September 2011

error : To add, edit, or remove IPs, please contact your server administrator

When you add ip from WHM "Add new IP Address"  you may get the following message

To add, edit, or remove IPs, please contact your server administrator.

To fix this issue, go to backend and add the ip to the file /etc/ips in the format "ip:netmask:broadcast" as shown below.

# vi /etc/ips
192.168.1.244:255.255.255.255:192.168.1.255


Then,

Restart the ipalias service
# /etc/init.d/ipaliases restart
Bringing up venet0:0:cp1                                   [  OK  ]
Routing 192.168.1.244                                     [  OK  ]


Now if it is an openvz vps, then edit the following file

#vi /etc/vz/conf/VzID.conf
#vzctl restart VzID


That's all
We have done it!!!!


No comments:

Post a Comment