My Server provider did a migration and my IP has been changed. I updated my new IP in cwp and all sites are working fine now but if I go to domain.com/cwp it redirects to old IP how to fix that?
Are you using cloudflare?
Check dns records of your domain.