• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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