Frequently Asked Questions

Help Center Search

Critical Paths for Your Linux Dedicated/Virtual Dedicated Server

Print this Article
Comment on this Article
Last Updated: September 17, 2007 4:40 PM

The file directory on your Linux dedicated/virtual dedicated server contains a number of critical paths that house applications, language frameworks, and tools. Some paths are common across servers, while others differ between control panels and versions.

Below are the locations of important Linux binaries:

perl
/usr/bin/perl
php
/usr/bin/php
sendmail
/usr/sbin/sendmail

NOTE: You can use the Linux which command to return the location of binaries defined in your PATH environment variable. Its syntax is shown below:

which <application name>

Below are the locations of important control panel-dependent paths:

cPanel
HTTP Document Root     /home/<username>/public_html/
HTTPS Document Root     /home/<username>/public_html/
CGI-BIN     /home/<username>/public_html/cgi-bin/
HTTP Logs     /usr/local/apache/domlogs/
Simple Control Panel
HTTP Document Root     /home/<username>/public_html/
HTTPS Document Root     /home/<username>/public_html/
CGI-BIN     /home/<username>/public_html/cgi-bin/
HTTP Logs     /var/log/httpd/
Plesk version 7.5.3 and below
HTTP Document Root     /home/httpd/vhosts/<domain>/httpdocs/
HTTPS Document Root     /home/httpd/vhosts/<domain>/httpsdocs/
CGI-BIN     /home/httpd/vhosts/<domain>/cgi-bin/
HTTP Logs     /home/httpd/vhosts/<domain>/statistics/logs/
Plesk version 7.5.4 and above
HTTP Document Root     /var/www/vhosts/<domain>/httpdocs/
HTTPS Document Root     /var/www/vhosts/<domain>/httpsdocs/
CGI-BIN     /var/www/vhosts/<domain>/cgi-bin/
HTTP Logs     /var/www/vhosts/<domain>/statistics/logs/
No control panel
HTTP Document Root     /etc/httpd/htdocs/
HTTPS Document Root     /etc/httpd/htdocs/
CGI-BIN     /etc/httpd/cgi-bin/
HTTP Logs     /etc/httpd/logs/