Error from park wrapper: yourdomain.com is already configured
When trying to add or park a domain in cPanel, you may encounter the following error message:
Error from park wrapper: yourdomain.com is already configured as a valid virtual host.
Cause of the Error
This error occurs when the domain you are trying to add already exists somewhere on the server. The most common causes are:
- The domain already exists as a DNS zone on the server, possibly left over from a previous account.
- The domain is currently assigned to another cPanel account as an addon domain, parked domain, or the main domain.
- A stale or orphaned DNS zone entry remains on the server after an account was terminated.
How to Check Which Account Has the Domain
You can use the following shell command to search for the domain in the user domains file:
grep -r "domain" /etc/userdomains
Replace domain with the actual domain name you are trying to add. This will show you which account the domain is currently assigned to, if any.
Solution: Delete the Orphaned DNS Zone
If the domain exists as an orphaned DNS zone (not attached to any active account), you can remove it through WHM:
- Log in to WHM as root.
- Navigate to DNS Functions › Delete DNS Zone.
- Find the domain in the list and click Delete to remove the DNS zone.
- Return to cPanel and try to add the domain again.
If the domain is assigned to another active account, you must first remove it from that account before adding it to the new one. Go to the other account's cPanel, then navigate to Addon Domains or Parked Domains and remove the domain from there.