Cannot access CWP after IP Change

Started by tumeraltas, July 25, 2024, 10:20:07 AM

Previous topic - Next topic

tumeraltas

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

overseer

Whitelist your IP in CSF -- /etc/csf/csf.allow , then issue csf -r to restart the firewall.

cyberspace

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.