Plesk document root?

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
299
Best answers
0
Ratings
17
Points
18
#1
I am having a Plesk control panel and hosting a few blogs on it. One of blogs requires document root to setup a small script for it. I know how to find in cPanel but not for Plesk. Can you guys tell me the way how to find document root in Plesk?
 

mobin

Well-known member
Joined
Jun 22, 2017
Messages
183
Best answers
1
Ratings
63 1
Points
28
#2

Bryan McClure

Well-known member
Joined
Jul 20, 2016
Messages
167
Best answers
0
Ratings
13
Points
18
#4
It should be something similar to "/var/www/vhosts/<domain_name>/httpdocs" as far as I rememeber. You can refer following articles also for more information.
The document root for the plesk is as below -

On Linux: /var/www/vhosts/<domain_name>
On Windows: C:\inetpub\vhosts\<domain_name>
Just out of curiosity, if I can check these paths with a command in terminal like I used to check php.ini file location on my VPS?
 

mobin

Well-known member
Joined
Jun 22, 2017
Messages
183
Best answers
1
Ratings
63 1
Points
28
#5
mobin
Yes, you can accesss the directory from CLI . Just login to your server using SSH, "cd" to the document root directory and run "ls" to see the list of files/dirs. Be very careful if you are not very familiar with CLI; one mistake can destroy your VPS easily.
 
Joined
Dec 31, 2016
Messages
71
Best answers
0
Ratings
16
Points
0
#6
Document root is set at server install. We use /home/httpd/vhosts/domain.com rather than /var/www.
 
Latest Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Top