Home / System Configuration / General Settings

General Settings

Site name, base URL, timezone, default language

What it is

General settings control your site's identity: name, base URL, timezone, default language, and system email. These values are used throughout WHMDC in emails, invoices, the client area header, and cron-generated content.

How it works

Settings are stored in the settings table as key-value pairs. The helper functions getSetting() and setSetting() read and write them:


$siteName = getSetting('site_name', 'Billing System');
$baseUrl = getSetting('base_url', 'https://billing.example.com');


setSetting('site_name', 'My Hosting Company');

Key settings

Setting key Purpose Example
site_name Displayed in header, emails, PDFs My Hosting
base_url Full URL to your WHMDC (no trailing slash) https://billing.example.com
timezone PHP timezone (e.g. Europe/London) Europe/London
default_language Locale code en_GB
system_email From address for system emails [email protected]

How to set up

  1. Go to Admin → Settings → General (path: /admin/settings/general).
  2. Enter your Site Name (e.g. "Acme Hosting").
  3. Set Base URL to your full domain, e.g. https://billing.example.com (no trailing slash).
  4. Select Timezone (e.g. Europe/London for UK).
  5. Choose Default Language.
  6. Set System Email for outgoing emails.
  7. Save settings.

Was this helpful?