3

CPanel to DA import - some subdomains were not properly handled (404)


Avatar
reseller user

This is 2019 issue: I already found at least three accounts (those that was migrated from CPanel to DA) which subdomains was not loading (404 Not found). The subdomain directory was on same level as a domain:

/domains/maindomain.com
/domains/subdomain.com

(subdomain.com was earlier a domain on cpanel server, but was turned into subdomain)

DirectAdmin should recognize better if something is domain or subdomain and move the subdomain's directory to its proper place.

Currently i have to 1) create subdomain via DirectAdmin, 2) delete the diectory it created (in order to remove unwanted index.html - it would override my index.php) and then move the
/domains/subdomain.com/public_html
to
/domains/maindomain.com/public_html/subdomain/

A

Activity Newest / Oldest

Avatar

reseller user

it was back in like 9/2019, maybe this issue was fixed and so this request closed. I do not know. I am not having root access. just a reseller user. thank you


  • Avatar
Avatar

smtalk

1) did you use latest version of the migration script? 0.0.42
2) if yes, it fully supports custom subdomain directories, and should not move/rename your folders


C

Constantinos Coudounaris

It doesn't actually. I experienced the exact same issue. Also subdomains in cPanel get 750 permissions, DirectAdmin requires 755 permissions. Permissions don't get fixed by the migration script latest version.


  • Avatar