Plesk document root?

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
215
Best answers
0
Ratings
4
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
97
Best answers
0
Ratings
11
Points
8
#2

Bryan McClure

Premium Member
Joined
Jul 20, 2016
Messages
128
Best answers
0
Ratings
6
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
97
Best answers
0
Ratings
11
Points
8
#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
13
Points
0
#6
Document root is set at server install. We use /home/httpd/vhosts/domain.com rather than /var/www.
 

Latest postsNew threads

Latest Hosting OffersNew Reviews

Web Hosting

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.