gamerxgirl

Registered
Jun 20, 2009
3
0
51
NY/Boston
Hi,
I am having problems with one of my add-on domains, I have been trying to delete it because it is not displaying in Installatron and therefore I cannot install scripts on it.

This is the error message I receive when I go to Add-On domains, then click under Actions -> 'Remove'.

Error from park wrapper: Sorry, you do not control the domain mysitename.com
However, if I do not control the domain, then how was I able to add it in the first place? The nameservers are correct and have propagated.

I've been trying to search for a solution, and I found this topic where someone had the same issue, but I cannot find a working solution.

Also if it's of any use, I have a VPS with root access, I am not on shared hosting.
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
You will have to remove the add-on domain from all the files cPanel creates an entry in and then add it back. The files are

httpd.conf (restart the httpd service once you edit it)
named.conf and .db file from /var/named/ (restart named service)
/etc/localdomains
/etc/remotedomains
/etc/trueuserdomains
/etc/userdomains
/var/cpanel/users/username (username is the main domains username)