How to change the main IP on a server

mark1hos

Active Member
Jun 18, 2003
41
0
156
Somerset, UK
We have recently obtained our own block of IP addresses and want to change one of our existing servers to use our new IP addresses. Just wondering how we go about updating our server?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Add the ip to your server
whm > Ip functions > add new ip address

Once it is available you can then change the main share IP in the basic cpanel/whm setup.

If you want to bring in more than one address, use the ip migration wizard.
 

mark1hos

Active Member
Jun 18, 2003
41
0
156
Somerset, UK
I hope I am making myself clear :) Whilst we have managed to change the Main IP of the server, the old is still 'undeletable in the delete IP section in WHM.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
asuming your running on eth0 (most servers are )
nano /etc/sysconfig/network-scripts/ifcfg-eth0

change your old ip for the new

service network restart