Updated Addon Domains Doc Root Issue
Recently created several AddOnDomains with their respective domain names as their documentroot (this created folders as /home/PrimaryDomain/AddOnDomainA). Realizing mistake, each AddOnDomains documentroot were changed to reflect "/public_html".
After changing each AddOnDomain's documentroot to "/public_html" in Cpanel I had expectation that the previously created subfolders under PrimaryDomain to be cleaned up (removed). They all remain.
In addition, List Subdomain in WHM is not reflecting all AddOnDomain changes made within Cpanel. Changes such as, moving AddOnDomainA from PrimaryDomainA to PrimaryDomainB. There are PrimaryDomains changes in Cpanel without a subdomain entry.
I'm considering an article titled Rebuilding Userdata here How to Rebuild userdata Files - cPanel Knowledge Base - cPanel Documentation expecting that at least WHN and Cpanel data may re-sync.
Am I on the right track? Will rebuilding userdata re-sync WHM and CPANEL?
Thanks for condersideration
/etc/redhat-release:CentOS release 6.9 (Final)
/usr/local/cpanel/version:11.64.0.24
/var/cpanel/envtype:kvm
CPANEL=stable
-
Hello, After changing each AddOnDomain's documentroot to "/public_html" in Cpanel I had expectation that the previously created subfolders under PrimaryDomain to be cleaned up (removed). They all remain.
Removing an addon domain name or changing it's document root will not automatically remove the subdirectory associated with the previously configured document root. The expectation is that users will manually remove the directory if it's no longer required, or manually move the files to the new document root.In addition, List Subdomain in WHM is not reflecting all AddOnDomain changes made within Cpanel. Changes such as, moving AddOnDomainA from PrimaryDomainA to PrimaryDomainB. There are PrimaryDomains changes in Cpanel without a subdomain entry.
To clarify, how were the addon domain names moved in this scenario? Were they deleted, and re-added to another cPanel account? Thank you.0 -
Yes. In Cpanel, AddOnDomainA was deleted from PrimaryDomainA before adding AddOnDomainA to PrimaryDomainB. 0 -
Just to be clear, anomalies observed did not occur for each instance (62 AddOnDomain changes/4 anomalies). Will return to give update. 0 -
Completed 7 steps. No change. WHM List Subdomain data is not synced with Cpanel data. 0 -
Hi, This needs a thorough investigation. You can raise a ticket to the cPanel support if you want to.. or get someone to investigate it for you because I am not able to reproduce this issue on my end, may be you can explain it in a different way.. 0 -
Hi, This needs a thorough investigation. You can raise a ticket to the cPanel support if you want to.. or get someone to investigate it for you because I am not able to reproduce this issue on my end, may be you can explain it in a different way..
Attached is pictorial representation of report. I'm strongly suspect the mismatch occurred when triggering an error during AddOnDomain procedure. Scenario: In WHM, create AddOnDomainA.[com|net|org]. In CPANEL AddOnDomain, add AddOnDomainA.com, AddOnDomainA.net, and AddOnDomainA.org to PrimaryDomainA accepting autocomplete, this will trigger error message. Although the AddOnDomain task was not successful it appears that a DNS record and subfolder creation did occur prior to returning error message. There are DNS A records for the WHM orphans {AddOnDomain[A-C]} in the List Subdomain report. My next step is to manually remove the orphans via CPANEL Edit Domain Zone.0 -
In WHM, create AddOnDomainA.[com|net|org].
Where are you creating this in WebHost Manager?0 -
Where are you creating this in WebHost Manager?
Yes, accounts were created via WHM.0 -
That's not an addon domain, it's a primary domain. Your misuse of the naming conventions makes this scenario seem more confusing than it needs to be. If I tweak your comment to be more understandable: In WHM, create Example.com. In CPANEL AddOnDomain, add AddOnDomainA.com, AddOnDomainA.net, and AddOnDomainA.org to Example.com accepting autocomplete, this will trigger error message.
It reads like you added 3 addon domains via your cPanel. But you mention the error after what sounds like you're trying to add 3 addon domains at one time. Did you get an error after creating a single addon domain and every other, one by one, is that it?0 -
That's not an addon domain, it's a primary domain. Your misuse of the naming conventions makes this scenario seem more confusing than it needs to be. If I tweak your comment to be more understandable: It reads like you added 3 addon domains via your cPanel. But you mention the error after what sounds like you're trying to add 3 addon domains at one time. Did you get an error after creating a single addon domain and every other, one by one, is that it?
Steps .... (1) Example.com exists (2) ExampleA.[com|net|org] exists (previously referenced as AddOnDomainA) (3) Goto Example.com CPANEL AddOnDomain (4) Followed scenario adding ExampleA.[com|net|org] First AddOnDomain error occurs when adding ExampleA.com because DNS record already exists. (Took corrective action removing DNS zone records for ExampleA.[com|net|org].) Adding ExampleA.net after accepting autocomplete is when second AddOnDomain error occurs.0 -
Your still overly complicating this, for me anyway. :rolleyes: Clear out any incorrect DNS entries and start from the top. You create an account, example.com, via WHM You add an Addon Domain via the users cPanel, examplea.com Afterward, you change the docroot Does this cause you an error, if yes, what is the error? 0 -
Your still overly complicating this, for me anyway. :rolleyes:. Clear out any incorrect DNS entries and start from the top. You create an account, example.com, via WHM You add an Addon Domain via the users cPanel, examplea.com Afterward, you change the docroot Does this cause you an error, if yes, what is the error?
Its not overly complicating the AddOnDomain task. Info shared thus far is simply a report of events, as they occurred, which likely produced orphan DNS records. As stated previously accounts example.com, examplea.com, examplea.net, examplea.org existed prior to taking AddOnDomain odyssey. IF you are trying to reproduce what happen, start with four similarly existing accounts.0 -
Hi, Yes, it is getting a bit complicated with domainA B and so on. I will suggest you get a professional system administrator for this work or raise a ticket to the cPanel support and they will investigate the complete issue and resolve it. 0 -
Hi, Yes, it is getting a bit complicated with domainA B and so on. I will suggest you get a professional system administrator for this work or raise a ticket to the cPanel support and they will investigate the complete issue and resolve it.
Please explain what exactly is overly complicated about transferring existing domains to another domain as adddOns?0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look at the affected system? You can post the ticket number here and we will update this thread with the outcome. Thank you. 0 -
Please explain what exactly is overly complicated about transferring existing domains to another domain as adddOns?
The thing is that you are missing out something, which is not explained in the post and it needs a thorough investigation from a professional system administrator. Feel free to raise a ticket to the cPanel if you want or get someone investigate it for you..0
Please sign in to leave a comment.
Comments
17 comments