You are not logged in or registered. Please login or register to use the full functionality of this board...
Linuxcat.org
manually edit assigned IPs in cPanel from SSH bash shell - Printable Version

+- Linuxcat.org (https://www.linuxcat.org)
+-- Forum: Linux Guides and Troubleshooting (/forumdisplay.php?fid=1)
+--- Forum: Linux Guides (/forumdisplay.php?fid=2)
+--- Thread: manually edit assigned IPs in cPanel from SSH bash shell (/showthread.php?tid=53)



manually edit assigned IPs in cPanel from SSH bash shell - knifebunny - 09-27-2012 01:28 PM

If you can't login to cPanel WHM and you need to edit the IP configuration, there
is a simple method for modifying the assigned IP addresses via the command line.


Code:
nano /etc/ips

this will present the IP addresses and their appropriate gateways.

once you have made the changes you need to restart the service


Code:
service ipaliases restart