1. Home
  2. Guides
  3. Moving to a new server: how to change your license IP

Moving to a new server: how to change your license IP

By the PikoLicense team · Published

Server licenses are tied to a public IP address. When you move to a new server, the license has to move with it. At PikoLicense every license includes 3 free IP changes; this guide shows the order of steps that avoids downtime.

Why the IP matters

cPanel, CloudLinux, Imunify360 and most other panel and security licenses check in with their vendor from the server's public IPv4 address. If the server's IP is not the one on the license, the software reports an invalid or expired license, even though you paid for it.

The order that avoids downtime

  1. Set up the new server first. Install the OS and the panel. Most panels run on a trial or show a license warning until the license moves; that is fine during setup.
  2. Move your accounts and data while the old server is still live and licensed.
  3. Request the IP change only when you are ready to switch DNS. Open a ticket in the PikoLicense client area with the product, the old IP and the new IP.
  4. Refresh the license on the new server with the commands below, then switch DNS.

Each license includes 3 free IP changes, so a test move and a final move are both covered.

cPanel & WHM

After the IP change, refresh the license on the server so WHM picks it up right away:

/usr/local/cpanel/cpkeyclt

CloudLinux OS

An IP-based CloudLinux license is re-registered with:

clnreg_ks --force

Then confirm it:

cldetect --check-license

If you are converting a fresh AlmaLinux server rather than moving an existing CloudLinux one, follow how to convert AlmaLinux to CloudLinux instead.

Imunify360

Register the new server by IP, then check the license status:

imunify360-agent register IPL
imunify360-agent rstatus

Other licenses

LiteSpeed, Softaculous, JetBackup, WHMCS and the other licenses follow the same rule: the license moves to the new IP on our side, then the software picks it up on its next license check or when you restart or refresh it from its admin screen. If a product still shows an error an hour after the change, reply on the same ticket with the output you see.

Checklist before you open the ticket

  • The new server's public IPv4 (not a private or NAT address, and not IPv6).
  • Which licenses should move: panel, CloudLinux, Imunify360, LiteSpeed and so on.
  • When you plan to switch DNS, so the old server is not cut off too early.