• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question New DocumentRoot?

omexlu

Regular Pleskian
Hello,

I plan to upgrade my current forum-software to the latest version, currently all data is in the "httpdocs".

Now I wanted to proceed as follows:
- create a new folder under "httpdocs" e.g. "NEWFORUM".
- into this folder I wanted to install the new forum-software.
- There I wanted to do all work (import, design etc.) without having to deactivate the current forum.

Now to my question, if I am finished with the migration afterwards, can I just change the document root to "httpdocs/NEWFORUM" (under "Hosting-Settings" in Panel) and delete all files below "NEWFORUM" (there should be only "httpdocs/NEWFORUM" then)?

But I don't want the old data to be copied from "httpdocs" to "NEWFORUM".

Does it work like this or how do I have to proceed here and do it best?

Thanks in advance.
 
Changing the document root in Plesk will not copy any data. So your procedure looks OK to me. See also: Defining a Custom Document Root

However, if I were you, I would create a new subdomain eg. "new.mydomain.tld" and install the forum there. Once happy with it, you can erase the old /httpdocs and move/copy all files from the subdomain to the main domain /httpdocs folder.
This way you make sure that no mod_rewrite rules that may exist in the previous /httpdocs installation will interfere with your new forum.
 
Changing the document root in Plesk will not copy any data. So your procedure looks OK to me. See also: Defining a Custom Document Root

However, if I were you, I would create a new subdomain eg. "new.mydomain.tld" and install the forum there. Once happy with it, you can erase the old /httpdocs and move/copy all files from the subdomain to the main domain /httpdocs folder.
This way you make sure that no mod_rewrite rules that may exist in the previous /httpdocs installation will interfere with your new forum.

Hello,

Thank you, the problem is that I must use php-cli to import the data from the old forum, because that I think it must be in the same folder maybe because the permission-rights.

I don't know if it is a good idea to use root for importing that data :)

Thanks for your answer anyway I think about to use your discripted way, that way I can mv the data over ssh to the right place.

If anybody of you have more tips I would be happy with that :)
 
Back
Top