The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to delete add-on domain

Discussion in 'General Discussion' started by gamerxgirl, Jan 5, 2010.

  1. gamerxgirl

    gamerxgirl Registered

    Joined:
    Jun 20, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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'.

    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.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    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)
     
Loading...

Share This Page