Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Due to Plesk 8 being at End of Support our host setup a new installation of RHEL and Plesk 10 on a new hard drive. They then slaved the old drive to the new so that we could migrate all our files using SSH. I am having challenges correctly migrating the sub domain files.

The path to subdomain root folder in Plesk 10.4.4 is confusing as I don't know where to copy the files to. The path to the files on the slaved drive is: "/mnt/old-drive/var/www/vhosts/domain_name.com/subdomains/SUBDOMAIN_NAME/", meanwhile on the new installation I have "/var/www/vhosts/SUBDOMAIN_NAME.domain_name.com".

There is an httpdocs folder in the '/var/www/vhosts/domain_name' folder but none in the '/var/www/vhosts/SUBDOMAIN_NAME.domain_name.com' folder.

Where do I copy my subdomain files to? Please help.

share|improve this question

1 Answer

It probably would go easier if you run Plesk Migration and Transfer Manager from your Plesk 10 installation (in "Tools and Settings" menu) and make it moving all content from your old server to the new one. The tool shall put all files in appropriate locations.

If you still want to move files manually, then just be sure all your subdomain docroot folders are within /var/www/vhosts/domain_name.com/ folder. Plesk 10 has flexible confgiuration for docroot location, so you can pick the folder when re-creating subdomain in UI.

The '/var/www/vhosts/SUBDOMAIN_NAME.domain_name.com' folder would only include system configuration files, but not actual web content.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.