To change the document root directory in Plesk, follow these steps:
1. Firstly, log in to Plesk.
2. Secondly, click Websites & Domains in the left sidebar.
3. Then, locate the domain you want to edit, and click Hosting Settings.
![hosting settings in Plesk](https://www.casbay.com/guide/wp-content/uploads/2021/02/hosting-settings.png)
4. In the Document root text box, type the file path you want to use for the new document root directory.
5. Lastly, click OK. Plesk will changes the document root directory.