30% OFF VPS For The First 12 Months Of Service!

USE COUPON CODE: Q12018

Ends Mar 31, 2018

*T&C Apply

Delete an IP address via SSH from your cPanel server

This tutorial will show you how to delete an IP address via SSH.

How to delete an IP address via SSH

Normally, you delete an IP address by logging into WHM and removing the it using the function “Show or delete current IP address” under “IP functions” .

Alternatively you can remove the IP in SSH via linux command.

Alternatively you can remove the IP in SSH via linux command.

nano /etc/ips

and now remove the line of the IP and then restart the ipaliases service by the command

service ipaliases restart
/scripts/rebuildippool

You can recheck if the IP has gone by using the command

ifconfig