envoys

Registered
May 16, 2017
2
0
1
Canada
cPanel Access Level
Root Administrator
Trying to transfer some sites from a Plesk server to a Cpanel server. The transfer goes smooth except for subdomains. The subdomains are going into /home/user/subdomains/ instead of /home/user/public_html/subdomains/. Is there an easy way to fix this? For now I have just been moving them manually but I have another 100+ sites to move and would rather not do it manually.

Thanks.
 

cPLevey

Technical Analyst Manager
Staff member
Dec 3, 2015
44
8
133
Houston, TX
cPanel Access Level
Root Administrator
Hello envoys,

In WHM's Tweak Settings (Home >> Server Configuration >> Tweak Settings), check if the following option is On or Off:

Restrict document roots to public_html [?]
Enabling this setting restricts Addon and Sub Domain document root directories to the same document root as an account’s primary domain (~/public_html)
If this is currently Off, could you try enabling it?
 

envoys

Registered
May 16, 2017
2
0
1
Canada
cPanel Access Level
Root Administrator
It is already on. When I transfer the account, the subdomains are created and in cpanel for the transferred account, the document root for the subdomains is ~/public_html/subdomains/subdomain but in the filesystem, the subdomain data is in ~/subdomains.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @envoys,

Could you open a support ticket using the link in my signature so that our Migration team can take a closer look? You can post the ticket number here and we will update this thread with the outcome.

Thank you.