Cpanel error: You cannot unpark a user’s main domain name

When we try to unpark a domain which is parked to our main domain, you might experience an error like this:
There was a problem unparking example.com from mydomain.com: Show Details
You cannot unpark a user’s main domain name.

Here “mydomain.com” is main domain and “example.com” is parked domain. When I try to unpark example.com from mydomain.com, got this error.

To unpark this:

1: Take a complete backup of that user from cpanel
# /scripts/pkgacct user
Make sure the backup is completed and check the backup file in /home staring with cpmove-<username>.tar.gz

2: Terminate that user account from WHM—> Account Functions —-> Terminate Account

3: Go to WHM—-> Account information —> List parked domains, and unpark the parked domain which we want to unpark
Make sure its removed from this list

4:  Then restore the user account
# cd /home
# /scripts/restorepkg user

5:  Again check the list parked domain from WHM

The parked domain will remove successfully

About mcsaormoney