Knowledgebase
Change Server Main IP for Cpanel
Posted by hbhb, 08-30-2007, 11:12 AM | Hi,
I currently have a problem here. I want to change my server IP from xxx.xxx.xxx.123 to xxx.xxx.xxx.321
1. I have requested cPanel IP changes to xxx.xxx.xxx.321
2. I am about to make changes for my eth0 to to xxx.xxx.xxx.321
3. How do I manually change cPanel setting (inside WHM) main server IP to xxx.xxx.xxx.321 using SSH command? Which files to edit?
When I change my eth0 to new IP, it won't detect the license anymore telling me "Invalid License"
|
Posted by SparkSupport, 08-30-2007, 12:04 PM | Cpanel provides license for specific IP address. So you should contact your cpanel license provider and ask them to give cpanel license to your new IP address.
|
Posted by hbhb, 08-30-2007, 12:05 PM | That is already been done (#1)
|
Posted by SparkSupport, 08-30-2007, 12:11 PM | Change the IP's in /etc/hosts and /etc/wwwacct.conf files and run the following commands in shell.
#rdate -s rdate.cpanel.net
#/usr/local/cpanel/cpkeyclt
|
Posted by hbhb, 08-30-2007, 01:05 PM | Thanks. I tried on a dummy server.
When I click List Accounts, all my 100 accounts are still showing the old IP address instead of the new IP address, how do I make effective to have all domain accounts to use new IP address?
|
Posted by hbhb, 08-30-2007, 11:21 PM | Anyone can help?
|
Posted by david510, 08-31-2007, 04:50 AM | You will need to go to option change multiple sites IP address in WHM and change the IP address of all sites from there.
|
|
Add to Favourites
Print this Article |
Also Read