• 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 Changing Document Root has no effect (ignored)

Johannes Kingma

Basic Pleskian
Changing the Document Root in Hosting Settings seems to have no effect. The files hosted still sit at the old location.

How can we succesfully change the Document Root for a domain?
 
When the files and folders already are in the new location there shouldn't be a reason to move any files. But files located at the new location are ignored but the files in the previous are still used : changing the root directory has no effect for us.
 
Check if you have "Apache restart interval" enabled if yes you need to wait that time until it takes effect.
If not then check for any HTACCESS or custom config that does overwrite it
 
Or if you're impatient:
  1. Log into Plesk as admin.
  2. Go to Tools & Settings > Services Management.
  3. Click Restart the service icon next to Web Server (Apache)
Then refresh your browser to see if your document root update is properly updated.
 
i have tried both above, double checked everywhere to , i want to poin it to httpdocs/public, i have checked apache.nginx config files and also plesk conf d vhosts as well where this value is already overwrittern by plesk configuration. still do not work as expected. i have restarated apache and nginx too but it doesnt seem to take any effect. can someone help me what i can do to make it work. and my apache internval is set to 0
 
Back
Top