CPanel - replace all references in user account of domainA with domainB

by ina   Last Updated October 10, 2019 01:01 AM - source

Trying to solve an easy case for when a user's domain name expired (and got stolen by squatter wanting a ransom!), for a global replacement of any text in that user's cpanel folder of the old expired domainA with domainB... Basically, global web find and replace.

I'm not sure whether an apache-level or php-global script would be more fitting, but open to suggestions of any sort. Thanks!

Related Questions

Cpanel/WHM: running PHP with PHP-FPM in Apache2

Updated February 02, 2018 20:01 PM