Frequently Asked Questions

Critical Paths for Your Linux VPS or Dedicated Server

Print this Article
Last Updated: September 22, 2012 2:09 PM

The file directory on your Linux VPS or 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/
Parallels Plesk Panel 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/
Parallels Plesk Panel 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/