Tag: api

Cloud Linux, CPanel / WHM

WHM API to change the main account domain name from the SSH

If you want to change the cpanel hosting account domain name using SSH or whmapi then you can run below command. whmapi1 modifyacct user=username domain=newdomain.com Replace username with actual username and domain name with the domain name which you want to change. It will show output like below [root@ ]# whmapi1 modifyacct user=username domain=younewdomain.com — …