Plesk document root?

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
343
Best answers
0
Ratings
22
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
205
Best answers
0
Ratings
74 1
Points
28
#2

Bryan McClure

Well-known member
Joined
Jul 20, 2016
Messages
174
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
205
Best answers
0
Ratings
74 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
24
Points
8
#6
Document root is set at server install. We use /home/httpd/vhosts/domain.com rather than /var/www.
 
Latest Threads
  • Deleted
  • Deleted by Localnode
  • Reason: Wrong section
Replies
0
Views
4
  • Deleted
  • Deleted by fwh
Replies
0
Views
1
Replies
16
Views
119
Recommended 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