Recently I ran into the following cPanel error when trying to add an addon domain: Error from park wrapper: Domain is already configured
This happened while moving a domain from one cPanel account to another on the same server. The domain had previously been configured as an addon domain under a different account. Even after removing it from the original account, cPanel still believed the domain was configured due to leftover references on the server.
Below is the exact process I used to fully remove those remnants and successfully add the domain to the new account.
How to Fix the "Error from park wrapper: Domain is already configured"
Important: You will need root shell access to the server. Replace the highlighted values with your own.
- yoursite.com = the addon domain you are trying to add
- acctusername = the original cPanel account that previously owned the addon domain
Simple Fix
- Login to your server using root shell access.
- Search for and remove all references to the domain from the following files and locations:
/var/named/yoursite.com.db
/var/cpanel/users/acctusername
/etc/httpd/conf/httpd.conf
/etc/userdomains
/etc/localdomains
Make sure the domain does not appear anywhere in these files. If it does, remove the entry carefully and save the file.
- Once all references are removed, return to cPanel and add the addon domain again under the new account.
Why This Error Happens
cPanel tracks domains in multiple configuration files. When an addon domain is removed incorrectly or a process fails mid cleanup, references can remain behind. This causes cPanel to think the domain is still configured, even though it is no longer visible in any account.
Final Thoughts
If you are moving domains between accounts on the same server, this error is fairly common. Fully cleaning up old domain references resolves the issue quickly and safely. Always double check files before editing, and consider backing them up first if you are working on a production server.