Author Topic: Cannot access CWP after IP Change  (Read 201 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot access CWP after IP Change
« on: July 25, 2024, 10:20:07 AM »
Hi,
My ISP chnaged my static IP adress and now I cannot access CWP and do the IP chnage over it. I can access the root, though. So, could you please tell me which files in which folders should  I modify to add the new IP address, so that I can access the CWP and my domains.
Urgent help will be appreciated.
TIA
Tumer

Offline
*****
Re: Cannot access CWP after IP Change
« Reply #1 on: July 25, 2024, 08:38:35 PM »
Whitelist your IP in CSF -- /etc/csf/csf.allow , then issue csf -r to restart the firewall.

Offline
**
Re: Cannot access CWP after IP Change
« Reply #2 on: September 03, 2024, 06:58:11 PM »
Change the IP in the file:

/usr/local/cwp/.conf/settings.conf

restart CWP and then run:

/scripts/cwp_api webservers rebuild_all
/scripts/cwp_api account rebuild_etc_named_conf
/scripts/cwp_api account rebuild_var_named_all

to rebuild vHost and DNS zone files.