
Originally Posted by
west one
We moved all are clients over from one VPS to a newly set-up VPS and use the option to put in place a redirect while the dns and all get sorted out but it has gone and put a redirect on both end's going to the old VPS and I can not remove them from within the cPanel or WHM would you now if this is a bug or not or even the Command I would need to use to remove it on the new VPS?
I would check the Apache .htaccess files for the domain involved; for example, the following command may be used via root SSH access (where "username" should be replaced by that of the applicable cPanel account):
Code:
# cat /home/username/public_html/.htaccess
If needing to temporarily disable an htaccess file simply rename it; this may be performed using command like the following:
Code:
# mv -v /home/username/public_html/.htaccess /home/username/public_html/.htaccess.backup
Here is an alternative set of two commands to accomplish the same task as above:
Code:
# cd /home/username/public_html
# mv -v .htaccess .htaccess.backup
To find the username associated with a specific account domain name, the following command may be used (where "domain.tld" should be replaced by the applicable domain name):
Code:
# /scripts/whoowns domain.tld