Changing main shared server IP.
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network
/etc/hosts
Then add the cpanel license to the new IP.
Update cPanel configurations.
replace $oldip $newip -- /var/cpanel/mainip
replace $oldip $newip -- /var/cpanel/userdata/*/*
replace $oldip $newip -- /var/named/*.db
replace $oldip $newip -- /etc/*
service named restart
/scripts/rebuildhttpconf
If you are adding new block IP's
1) Add the IP through the cpanel.
2) /etc/init.d/ipaliases restart
No comments:
Post a Comment