Results 1 to 7 of 7
Thread: Change Server Main IP for Cpanel
-
08-30-2007, 11:12 AM #1Web Hosting Evangelist
- Join Date
- Apr 2006
- Posts
- 516
Change Server Main IP for Cpanel
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"
-
08-30-2007, 12:04 PM #2Web Hosting Master
- Join Date
- May 2006
- Location
- India
- Posts
- 661
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.
██ SparkSupport.Com - The Premier Tech Company
██ Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
██ Email: info@sparksupport.com █ Phone : 1- 408-600-1449 | Skype : shijils
-
08-30-2007, 12:05 PM #3Web Hosting Evangelist
- Join Date
- Apr 2006
- Posts
- 516
-
08-30-2007, 12:11 PM #4Web Hosting Master
- Join Date
- May 2006
- Location
- India
- Posts
- 661
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██ SparkSupport.Com - The Premier Tech Company
██ Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
██ Email: info@sparksupport.com █ Phone : 1- 408-600-1449 | Skype : shijils
-
08-30-2007, 01:05 PM #5Web Hosting Evangelist
- Join Date
- Apr 2006
- Posts
- 516
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?
-
08-30-2007, 11:21 PM #6Web Hosting Evangelist
- Join Date
- Apr 2006
- Posts
- 516
Anyone can help?
-
08-31-2007, 04:50 AM #7Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
You will need to go to option change multiple sites IP address in WHM and change the IP address of all sites from there.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android