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!

Can't Add Subdomains

Discussion in 'Bind/DNS/Nameserver' started by ruuz, May 15, 2018.

  1. ruuz

    ruuz Member

    Joined:
    Aug 2, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I have tried everything from last 2 days but I am not able to add subdomains.

    1) "Domains" tab in "WHM Home » Server Configuration » Tweak Settings" and enable the following option:
    "Allow users to park subdomains of the server’s hostname."

    Doesn't works.

    2) I checked if that account quota is full or not.

    Doesn't works.

    3) Tried adding subdomains on other accounts on same server.

    Doesn't works.

    4) Restarted services, server etc.

    Doesn't works.

    I checked the logs and here is what I am getting.

    Code:
    [2018-05-15 10:16:29 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[domain] function=[ADD]: set error in context subdomain: $
            Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'domain', 'function', 'ADD', 'data', 'thesubs example.com 1 /home/xyzcouk/public_html/thesubs$
            Cpanel::AdminBin::adminrun('domain', 'ADD', 'thesubs', 'example.com', 1, '/home/xyzcouk/public_html/thesubs') called at /usr/local/cpanel/Cpanel/SubDomain.pm lin$
            Cpanel::SubDomain::_addsubdomain('thesubs', 'example.com', 1, 0, 'public_html/thesubs') called at /usr/local/cpanel/Cpanel/SubDomain.pm line 183
            Cpanel::SubDomain::addsubdomain('thesubs', 'example.com', 1, 0, 'public_html/thesubs') called at cpanel.pl line 3243
            main::dosubdomain('addsubdomain', ARRAY(0x157ba708)) called at cpanel.pl line 2011
            eval {...} called at cpanel.pl line 2011
            main::_api1(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x157ba708), __CPANEL_HIDDEN__, undef, undef) called at cpanel.pl$
            main::real_exectag('<cpanel SubDomain="addsubdomain($RAW_FORM{\'domain\'},$RAW_FORM{\'rootdomain\'},1,0,$RAW_FORM{\'dir\'})">') called at cpanel.pl line 4319
            main::dotag_finished_headers(0) called at cpanel.pl line 4139
            main::cpanel_parseblock(__CPANEL_HIDDEN__) called at cpanel.pl line 4053
            main::y(GLOB(0x14c884c0)) called at cpanel.pl line 5425
            main::run_standard_mode() called at cpanel.pl line 838
    [2018-05-15 10:16:29 +0100] warn [SubDomain::addsubdomain] Encountered error in SubDomain::addsubdomain: A DNS entry for the domain âthesubs.example.comâ
                                                                                                                                                           [2018-05-15 10:21:05 +010Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'domain', 'function', 'ADD', 'data', 'someusr example.com 1 /home/xyzcouk/public_html/kera$
            Cpanel::AdminBin::adminrun('domain', 'ADD', 'someusr', 'example.com', 1, '/home/xyzcouk/public_html/someusr') called at /usr/local/cpanel/Cpanel/SubDomain.$
            Cpanel::SubDomain::_addsubdomain('someusr', 'example.com', 1, 0, 'public_html/someusr') called at /usr/local/cpanel/Cpanel/SubDomain.pm line 183
            Cpanel::SubDomain::addsubdomain('someusr', 'example.com', 1, 0, 'public_html/someusr') called at cpanel.pl line 3243
            main::dosubdomain('addsubdomain', ARRAY(0x1aa12908)) called at cpanel.pl line 2011
            eval {...} called at cpanel.pl line 2011
            main::_api1(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x1aa12908), __CPANEL_HIDDEN__, undef, undef) called at cpanel.pl$
            main::real_exectag('<cpanel SubDomain="addsubdomain($RAW_FORM{\'domain\'},$RAW_FORM{\'rootdomain\'},1,0,$RAW_FORM{\'dir\'})">') called at cpanel.pl line 4319
            main::dotag_finished_headers(0) called at cpanel.pl line 4139
            main::cpanel_parseblock(__CPANEL_HIDDEN__) called at cpanel.pl line 4053
            main::y(GLOB(0x19ed14d0)) called at cpanel.pl line 5425
            main::run_standard_mode() called at cpanel.pl line 838
    [2018-05-15 10:21:05 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[domain] function=[ADD]: set error in context subdomain: $
            Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'domain', 'function', 'ADD', 'data', 'someusr example.com 1 /home/xyzcouk/public_html/kera$
            Cpanel::AdminBin::adminrun('domain', 'ADD', 'someusr', 'example.com', 1, '/home/xyzcouk/public_html/someusr') called at /usr/local/cpanel/Cpanel/SubDomain.$
            Cpanel::SubDomain::_addsubdomain('someusr', 'example.com', 1, 0, 'public_html/someusr') called at /usr/local/cpanel/Cpanel/SubDomain.pm line 183
            Cpanel::SubDomain::addsubdomain('someusr', 'example.com', 1, 0, 'public_html/someusr') called at cpanel.pl line 3243
            main::dosubdomain('addsubdomain', ARRAY(0x1aa12908)) called at cpanel.pl line 2011
            eval {...} called at cpanel.pl line 2011
            main::_api1(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x1aa12908), __CPANEL_HIDDEN__, undef, undef) called at cpanel.pl$
            main::real_exectag('<cpanel SubDomain="addsubdomain($RAW_FORM{\'domain\'},$RAW_FORM{\'rootdomain\'},1,0,$RAW_FORM{\'dir\'})">') called at cpanel.pl line 4319
            main::dotag_finished_headers(0) called at cpanel.pl line 4139
            main::cpanel_parseblock(__CPANEL_HIDDEN__) called at cpanel.pl line 4053
    
    
    Thanks a lot for your input.
     
    #1 ruuz, May 15, 2018
    Last edited by a moderator: May 15, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @ruuz,

    Are you able to open a support ticket using the link in my signature so we can take a closer look at your system? You can post the ticket number here and we will update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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