Introduction

H-Sphere is a hosting control panel that organizes server components, configurations, and services in a structured directory layout. Understanding these locations is essential for system administration, troubleshooting, and maintenance of services such as DNS, HTTP, FTP, Mail, and MySQL.

Prerequisites

  • Access to the H-Sphere server (root or privileged user)
  • Basic knowledge of Linux file system structure
  • Familiarity with web hosting services (DNS, HTTP, FTP, Mail, MySQL)
  • SSH access to navigate and manage directories

Implementation

Root Directory

  • /hsphere/local – Main root directory of H-Sphere

Configuration Files

  • Common configuration path: /hsphere/local/config
  • Control panel: /hsphere/local/home/cpanel/arjun/psoft_config/hsphere.properties
  • DNS configuration: /etc/named.conf
  • DNS directory: /hsphere/local/var/named/
  • HTTP configuration: /hsphere/local/config/httpd/httpd.conf
  • FTP configuration: /hsphere/local/config/ftpd/proftpd.conf
  • Qmail control: /hsphere/local/var/qmail/control/
  • MySQL configuration: /etc/my.cnf
  • PHP configuration:
    • /hsphere/local/config/httpd/php.ini
    • /usr/local/lib/php.ini

Control Panel and Scripts

  • Control panel features: /hsphere/local/home/cpanel
  • H-Sphere scripts: /hsphere/shared/scripts/

Domain and Mail Locations

  • Domains directory: /hsphere/local/home/
  • Qmail directory: /hsphere/local/var/qmail (linked to /var/qmail)
  • Mail storage: /hsphere/local/var/vpopmail/domains

Log File Paths

  • H-Sphere logs: /var/log/hsphere/hsphere.log
  • DNS logs: /var/log/messages
  • HTTP logs: /hsphere/local/var/httpd/logs/
  • Mail logs: /var/log/maillog
  • Horde logs: /hsphere/local/var/horde/log
  • FTP logs:
    • /hsphere/local/var/proftpd/xferlog
    • /var/log/proftpd/auth.log
  • MySQL logs: /var/log/mysqld.log

Statistics (Webalizer & Modlogan)

  • Statistics data: /hsphere/local/var/staticstics
  • Shared tools: /hsphere/shared/
  • ModLogAn config: /hsphere/shared/apache/conf/modlogan_user.cfg
  • Webalizer config: /hsphere/shared/apache/conf/webalizer_user.cfg
  • Webalizer skeleton: /hsphere/shared/skel/webalizer
  • ModLogAn skeleton: /hsphere/shared/skel/modlogan

FTP and FrontPage

  • FTP logs: /hsphere/local/var/proftpd/
  • FTP configuration: /hsphere/local/config/ftpd/
  • FTP daemon: /hsphere/shared/sbin/proftpd
  • FrontPage installation: /hsphere/shared/frontpage
  • FrontPage configuration: /hsphere/local/var/frontpage

Other Important Locations

  • Network IP configuration: /hsphere/local/network/ips
  • Apache document root: /hsphere/shared/apache/htdocs
  • WebShell: /hsphere/shared/apache/webshell
  • Skeleton files: /hsphere/shared/skel
    • New sites: /hsphere/shared/skel/website
    • Suspended sites: /hsphere/shared/skel/suspended
  • SSL log: /hsphere/local/home/cpanel/apache/logs/ssl_engine_log

Conclusion

This structured layout of H-Sphere directories and files provides a centralised way to manage configurations, logs, services, and user data. Familiarity with these paths enables efficient troubleshooting, system monitoring, and maintenance of hosting environments.

Leave a Reply