Site Management
Creating a Site
Section titled “Creating a Site”- Go to Sites page, click Create Site
- Enter the domain name (e.g.,
example.com) - Select PHP version
- (Optional) Add domain aliases (e.g.,
www.example.com) - Confirm — the system automatically creates the document root, generates vhost config, configures PHP handler, and reloads the web server
Document Root
Section titled “Document Root”Site files are stored at:
/home/{system_user}/public_html/{domain}/Site Settings
Section titled “Site Settings”PHP Configuration
Section titled “PHP Configuration”Each site has independent PHP configuration via LiteHttpd’s phpIniOverride:
| Parameter | Default | Description |
|---|---|---|
memory_limit | 256M | PHP memory limit |
upload_max_filesize | 64M | Max upload file size |
post_max_size | 64M | Max POST data size |
max_execution_time | 300 | Max execution time (seconds) |
disable_functions
Section titled “disable_functions”Configure disabled PHP functions per site with presets:
- Basic security —
exec, passthru, shell_exec, system, proc_open, popen - Custom — manually specify functions to disable
LSCache
Section titled “LSCache”LLStack supports LiteHttpd’s native LSCache module for server-side page caching:
- Enable/Disable toggle
- Cache TTL — default expiration time
- Private Cache — for logged-in users
- Purge Cache — clear all cached content
Works best with the LiteSpeed Cache WordPress plugin.
Custom Configuration
Section titled “Custom Configuration”The vhost template provides 5 custom insertion points: CUSTOM_HEAD, CUSTOM_HANDLER, CUSTOM_REWRITE, CUSTOM_PHP, CUSTOM_TAIL.
PHP Version Switching
Section titled “PHP Version Switching”Switching PHP version automatically updates the scriptHandler mapping and reloads LiteHttpd.
Staging Environment
Section titled “Staging Environment”Create a one-click staging copy of any site for safe testing before applying changes to production.
- Create Staging — clones site files and database to a staging subdomain (
staging.example.com) - Push/Pull — sync changes between staging and production in three modes:
- All — files + database
- Files only — sync site files without touching the database
- Database only — sync database without touching site files
- WordPress domain replacement — automatically runs
wp search-replaceto update URLs when pushing or pulling between staging and production
CDN Integration (Cloudflare)
Section titled “CDN Integration (Cloudflare)”Connect your site to Cloudflare for CDN acceleration and cache management.
- Setup — enter your Cloudflare API Token and Zone ID in site settings
- Cache Purge — purge the entire Cloudflare cache or specific URLs from the panel
- CDN Removal — disconnect Cloudflare integration and remove the stored credentials