Results 1 to 7 of 7
  1. #1
    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"

  2. #2
    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

  3. #3
    Join Date
    Apr 2006
    Posts
    516
    Quote Originally Posted by SparkSupport View Post
    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.
    That is already been done (#1)

  4. #4
    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

  5. #5
    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?

  6. #6
    Join Date
    Apr 2006
    Posts
    516
    Anyone can help?

  7. #7
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •