Add/Remove ip address in cpanel server via ssh

To remove an ip address, you need to stop the ipaliases first.

  #   service ipaliases stop

Open the /etc/ips

   #  vi /etc/ips

Delete the required ip address along with the line from the above file.

   # service ipaliases start

Start ipaliases and rebuild the pool.

  #  /scripts/rebuildippool

Was this answer helpful?

 Print this Article

Also Read

Add email account in cpanel via ssh

You can add the email account via ssh on server if cpanel license expired.# /scripts/addpop...

How to install CloudFlare cPanel plugin in WHM?

CloudFlare plugin integrates CloudFlare services with cPanel server and allows your customers to...

How to Backup and Restore cPanel Account via SSH

How to create backup of Individual cPanel Account via SSH? 1: Log-in to the SSH as Root user....

Powered by WHMCompleteSolution