Skip to main content

[Case 103121] subdomains of the hostname's root domain

Comments

27 comments

  • chifliiiii
    I have the exact same problem. I tried updating cPanel from my WHM but the error still there. Any fox for this?
    0
  • cPanelMichael
    Hello :) Check to see if the following option is enabled under the "Domains" tab in "WHM Home " Server Configuration " Tweak Settings": "Allow users to park subdomains of the server"s hostname." Thank you.
    0
  • pauloray
    I have the same issue. "Allow users to park subdomains of the server"s hostname." = OFF Any fix of this one?
    0
  • JaredR.
    If the subdomain you want to add is a subdomain of the domain in the server's hostname, you will need to enable that Tweak setting in order to add the subdomain.
    0
  • domic
    [quote="cPanelJared, post: 1608571">If the subdomain you want to add is a subdomain of the domain in the server's hostname, you will need to enable that Tweak setting in order to add the subdomain.
    hostname = domain.com main domain of user account = user.domain.com User can not add subdomain any.user.domain.com now, but it worked before with the option "Allow users to park subdomains of the server"s hostname". It is bad.
    0
  • cPanelMichael
    Could you let us know which version of cPanel is installed on your system? Internal case 87857 was included with cPanel version 11.42.1.1 to address the issue you have described. Thank you.
    0
  • jmbg
    I have the same issue in one user. "Allow users to park subdomains of the server"s hostname." = ON Cpanel Version WHM 11.42.1 (build 12)
    0
  • cPanelMichael
    [quote="jmbg, post: 1633401">I have the same issue in one user.
    Could you provide more details about the issue you are experiencing and how we can reproduce it? Thank you.
    0
  • harmsway14
    [quote="cPanelMichael, post: 1633651">Could you provide more details about the issue you are experiencing and how we can reproduce it? Thank you.
    I have the exact same problem. It's always worked fine before. I am running cPanel 11.42.1 (build 12). It creates the folder but you can't do any 1-click installs because the subdomain isn't showing up and this is very frustrating because I need it to work. Never had a problem before. Harmonie
    0
  • cPanelMichael
    Please feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • squaredd
    Same problem here. Is there any public patch/fix or should I open a ticket too? TY
    0
  • cPanelMichael
    [quote="squaredd, post: 1643082">Same problem here. Is there any public patch/fix or should I open a ticket too? TY
    Please let us know the exact error message you see, and what steps you have taken to resolve the issue thus far. Thank you.
    0
  • TheTEK
    Is there a fix for this yet? I am getting the same error.
    0
  • cPanelPeter cPanel Staff
    Hello, As cPanelMichael has already asked... Please let us know the exact error message you see, and what steps you have taken to resolve the issue thus far. If all everyone is doing is stating that "yes this is happening to me too, is there a fix?" then we unfortunately won't be able to provide a lot of assistance. Or open a support request so we can properly investigate.
    0
  • strange guy
    Hi, I have the same issue on one of our servers. I get the following error when trying to add new addon domain: "You do not have permission to create subdomains of the server"s hostname." The same issue with attempts to create new subdomain: "There was a problem creating the sub-domain: You do not have permission to create subdomains of the server"s hostname." I've just upgraded cPanel to the latest available version in "RELEASE" branch - 11.44.0.18, but the problem persists. Also I am 100% sure that new addon domain absolutely does not match the server's hostname. The steps how to reproduce problem: 1) Logging in cPanel account 2) Choose Domains >> Addon domains menu 3) Create new addon domain. Here is the part of cpanel error log: [2014-06-28 10:22:31 -0400] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request The adminbin "domain" in the "Cpanel" namespace call to function "ADD" ended prematurely: The subprocess reported the "EPERM" (1) error when it ended.: namespace=[Cpanel] module=[domain] function=[ADD]: set error in context subdomain: raw_response=[{"status":1,"exit_code":256,"timeout":0,"version":"2.3","error":1,"statusmsg":"The adminbin "domain" in the "Cpanel" namespace call to function "ADD" ended prematurely: The subprocess reported the "EPERM" (1) error when it ended.","action":"run","mode":"simple","data":"You do not have permission to create subdomains of the server"s hostname."}] at /usr/local/cpanel/Cpanel/Wrap.pm line 117 [2014-06-28 10:22:31 -0400] warn [AddonDomain::addaddondomain] Encountered error in AddonDomain::addaddondomain: You do not have permission to create subdomains of the server"s hostname.
    Could you please investigate this issue? Also, just a short addition, of course "Allow users to park subdomains of the server"s hostname." option is disabled in Tweak Settings menu. When it is enabled, I can add new addon domain without any problem.
    0
  • strange guy
    Just wanted to add one important note. For example the server's hostname is host.domain.com. There is cPanel account with domain.com as main domain. And the problem exists only for this account. So I get the provided above errors when trying to add any addon domain in this account and when trying to add any subdomain under domain.com. I believe cPanel doesn't determines server's hostname correctly. I've checked hostname in Home "Networking Setup "Change Hostname menu and as I mentioned above it is host.domain.com, not domain.com.
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look and see if the hostname is configured incorrectly. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • kernow
    Also having same problem. The servers hostname has no resembalance to the addon domain were trying to add. Would mention that on another server this problem did not occur and the setting "Allow users to park subdomains of the server"s hostname" is off on both servers [2014-07-01 11:16:26 +0000] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request The adminbin "domain" in the "Cpanel" namespace call to function "ADD" ended prematurely: The subprocess reported the "EPERM" (1) error when it ended.: namespace=[Cpanel] module=[domain] function=[ADD]: set error in context subdomain: raw_response=[{"mode":"simple","data":"You do not have permission to create subdomains of the server"s hostname.","status":1,"statusmsg":"The adminbin "domain" in the "Cpanel" namespace call to function "ADD" ended prematurely: The subprocess reported the "EPERM" (1) error when it ended.","error":1,"exit_code":256,"action":"run","timeout":0,"version":"2.3"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 117 Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'domain', 'function', 'ADD', 'data', 'xxxx xxxxx.com 1 /home/xxxxx/public_html/xxxxx.net', 'action', 'run', 'env', HASH(0x3c81630)) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 105 Cpanel::AdminBin::adminrun('domain', 'ADD', 'xxxx', 'xxxxxx.com', 1, '/home/xxxx/public_html/xxxx.net') called at /usr/local/cpanel/Cpanel/SubDomain.pm line 314 Cpanel::SubDomain::_addsubdomain('xxxx', 'xxxxx.com', 1, undef, 'public_html/xxxx.net') called at /usr/local/cpanel/Cpanel/AddonDomain.pm line 83 Cpanel::AddonDomain::api2_addaddondomain(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 117 eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 117 Cpanel::Api2::Exec::api2_exec('AddonDomain', 'addaddondomain', HASH(0x3bb6360), HASH(0x286af70)) called at cpanel line 994 main::real_cpexectag('') called at cpanel line 4214 main::dotag_finished_headers(0) called at cpanel line 4031 main::cpanel_parseblock(__CPANEL_HIDDEN__) called at cpanel line 3945 main::y(GLOB(0x33e2cc0)) called at cpanel line 5297 main::run_standard_mode() called at cpanel line 782
    0
  • cPanelMichael
    Have you recently changed your hostname, or was it at some point configured as the individual domain name? Note that internal case number 103121 is open to inquiry about allowing an account to have a root domain of the hostname's FQDN. Thank you.
    0
  • kernow
    hostname hasn't been changed and a search for any reference to the domain were trying to add yields nought.
    0
  • cPanelMichael
    [quote="kernow, post: 1677951">hostname hasn't been changed and a search for any reference to the domain were trying to add yields nought.
    Please feel free to open a support ticket using the link in my signature. You can post the ticket number here so we can update this thread with the outcome. Thanks.
    0
  • jshoup
    It's been a little while since the last post here, but I just came across this same issue and thought I would provide some insight. My situation was similar to others, the add-on domain (example.com) was completely unrelated to the main domain (domain.com). I am the admin on my CP host. I had to enable two options in Tweak Settings of WHM: - Allow resellers to create accounts with subdomains of the server"s hostname - Allow users to park subdomains of the server"s hostname With the settings enabled I was able to complete adding example.com. After, I went into the Simple DNS Zone Editor for domain.com and observed a new A record called webdisk.example.domain.com. I assume that it is a new-ish feature for the add-on domain script to add this extra record. My hostname is server1.domain.com, so technically this is not a subdomain of the server's hostname, but rather a subdomain of the server's "domain name". It is a somewhat different, but related, issue. I'm not sure why it considers them parked either, I really expected that just enabling the first option would have been sufficient for me. This happens specifically in the case where the account is the domain.com main account, because it is creating a subdomain of the server's domain name. For another account (bogus.com), it would create webdisk.example.bogus.com, but since that is in no way related to the host's name (server1.domain.com) or domain (domain.com), you don't run into this issue.
    0
  • icvdm
    Thank you for replying with that level of detail and info. This is MUCH appreciated by me. This is the resolution.
    0
  • MaraBlue
    Something must have changed recently with how cPanel handles addon domains. I've added 2 other addon domains "under" the server's domain (yet not it's hostname, which is a subdomain of the server's domain), and didn't have a problem. This time I get the same error, You do not have permission to create subdomains of the server's hostname. It seems enabling ""Allow users to park subdomains of the server"s hostname" is the resolution (as stated by cPanelMichael and from my own experience just now), but that terminology is wrong. apollo.maindomainname.com is the hostname maindomainname.com is NOT the hostname maindomainname.com is where I was trying to create a subdomain, in order to create/add an addon domain. I've done it before, I know it is possible So that's part of what's confusing people, it that cPanel is using the wrong terminology in the Tweak Settings. There's also the addon vs parked issue, because to those of us who also sell domain names, "parked" means something different than it does in cPanel. It would be really, really, really, REALLY nice for cPanel to offer a means of parking (I mean really parking, not domain forwarding that cPanel calls parking) domain names. I realize cPanel is for hosting and assumes that anyone who buys a domain name also buys hosting, but it doesn't always work that way.
    0
  • cPanelMichael
    This forum thread is linked to internal case number 103121. Discussion on the change in behavior is still ongoing and no decisions have been made at this time. Thank you for providing your feedback.
    0
  • ayyoub
    same problem for me
    0
  • cPanelMichael
    [quote="ayyoub, post: 1730232">same problem for me
    Please ensure you read the previous posts for workarounds and information about the internal case. Thank you.
    0

Please sign in to leave a comment.