At this tutorial i wanna show how to change the IP Address of CentOS Web Panel server.
Please follow these steps in order to IP Address of your VPS/Dedicated server:
1- Go to CWP Settings --> Edit Settings and replace Shared IP field with Default/New IP Address
2- Go to CWP Settings --> Change Hostname and replace New Hostname with rDNS/PTR records of your Default/New IP (you can check this record by reverse DNS lookup services)
3- Go to User Accounts --> List Accounts and you need to go to "Edit Account" section of all accounts on your server and replace IP field with Default/New IP Address (you also must check the "Update DNS Zone" checkbox)
4- Go to DNS Functions --> Edit Nameservers IPs and replace all NS1 and NS2 IPs with Default/New IP Address.
5- after all of this I suggest you to rebuild your WebServer in order to prevent future issues , So you need to Go to Apache Settings --> Apache Re-Build and recompile your apache webserver
6- If you were using Varnish Cache or Nginx Reverse Proxy you must
Go to Apache Settings --> Select WebServers and select Default Web Servers which you were using and Click on "Save & Rebuild Configuration".
7-if you were using MailServer you should Rebuild your MailServer
8-Reboot your server
9-Enjoy!