Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel subdomains Failure

Discussion in 'General Discussion' started by Jd252, May 29, 2013.

  1. Jd252

    Jd252 Registered

    Nov 3, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    So I recently just tried to add a subdomain to my account and I get the following Hooksadmin error:

    There was a problem creating the sub-domain: hooksadmin had an unknown error

    I have checked all domain resources for the account and they are perfectly fine (unlimited) so I'm not sure what the issue could be here.

    cPanel actually creates the subdomain and FTP directory but you can't connect to the subdomain itself even with files in the directory. Any help would be appreciated.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check the contents of the following directory:

    # /usr/local/cpanel/hooks/subdomain
    Typically, the error message you reported is the result of invalid custom entries in the following file:

    # /usr/local/cpanel/hooks/subdomain/addsubdomain
    Do you have any third-party applications such as Nginx installed that could have created the above file? If so, you may want to consult with the support for that application to see if you need to update it or modify any custom hooks. If not, you can disable it via:

    # mv /usr/local/cpanel/hooks/subdomain/addsubdomain /root/addsubdomain-hook-backup
    # /usr/local/cpanel/bin/register_hooks
    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice