Plesk document root?

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
364
Best answers
0
Ratings
26
Points
28
#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
212
Best answers
0
Ratings
84 1
Points
28
#2

Bryan McClure

Well-known member
Joined
Jul 20, 2016
Messages
194
Best answers
0
Ratings
17
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
212
Best answers
0
Ratings
84 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.
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
26
Points
8
#6
Document root is set at server install. We use /home/httpd/vhosts/domain.com rather than /var/www.
 
Latest Threads
Replies
1
Views
15
Replies
2
Views
16
  • Deleted
  • Deleted by fwh
Replies
0
Views
2
Replies
0
Views
8
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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.

Top