Home Guides Glossary

Critical Paths for Your Linux VPS or Dedicated Server

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

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/

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy