• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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