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

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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.
 

jshoup

Registered
Aug 7, 2014
1
0
1
cPanel Access Level
Root Administrator
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.
 

icvdm

Member
Jun 30, 2010
7
0
51
Thank you for replying with that level of detail and info. This is MUCH appreciated by me. This is the resolution.
 

MaraBlue

Well-Known Member
May 3, 2005
332
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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.