Control Web Panel

WebPanel => DNS => Topic started by: tumeraltas on July 25, 2024, 10:20:07 AM

Title: Cannot access CWP after IP Change
Post by: tumeraltas 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
Title: Re: Cannot access CWP after IP Change
Post by: overseer 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.
Title: Re: Cannot access CWP after IP Change
Post by: cyberspace 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.