Site Types
Webinoly supports several site types:- HTML - Static HTML sites
- PHP - PHP-enabled sites
- WordPress - Full WordPress installation with automatic database setup
- MySQL - Database-only (no site files)
- Empty - Minimal configuration for custom setups
- Reverse Proxy - Proxy to backend applications
- Parked - Parked/alias domains
Creating an HTML Site
Create a static HTML site:- Static file serving
index.html,index.htmas default indexes- Basic security headers
- Access and error logging
HTML in a Subfolder
You can create HTML sites in subfolders:/var/www/example.com/htdocs/blog/.
Creating a PHP Site
Create a PHP-enabled site:- Default Configuration
- With Subfolder
PHP sites include:
- PHP-FPM processing
- FastCGI configuration
index.php,index.html,index.htmas default indexes- Security headers
- Common PHP security restrictions
Creating a WordPress Site
Basic WordPress Installation
Create a WordPress site with automatic setup:This will:
- Download the latest WordPress version
- Create a new MySQL database
- Generate a
wp-config.phpfile - Set up secure database credentials
- Configure NGINX for WordPress
Interactive Setup
During installation, you’ll be prompted for:
- Database Host (default:
localhost) - Database Name (default: sanitized domain name)
- Database User (default: sanitized domain name)
- Database Password (auto-generated or custom)
- Table Prefix (default:
wp_)
WordPress in a Subfolder
Install WordPress in a subfolder:/var/www/example.com/htdocs/blog/ and accessible at example.com/blog.
Unattended WordPress Installation
For automated deployments, use custom database parameters:Parameters Explained
setupmysql- Create database and user (true/false)setupwp- Create wp-config.php (true/false)dbhost- Database host (e.g.,localhost,192.168.1.100:3306)dbname- Database namedbuser- Database usernamedbpass- Database password (userandomfor auto-generation)dbpref- WordPress table prefix (e.g.,wp_)
External Database Configuration
Webinoly supports external MySQL/MariaDB databases:extdbuser- Master database username (8th parameter)extdbpass- Master database password (9th parameter)
Creating a MySQL Database Only
Create a database without installing WordPress:- A new database
- A database user with appropriate privileges
- Secure auto-generated credentials (displayed after creation)
Creating an Empty Site
For custom configurations:/var/www/example.com/*-nginx.conf
Completely Blank Configuration
For maximum flexibility:Site Creation Options
Enable FastCGI Cache on Creation
Create a WordPress site with caching enabled:- Enables FastCGI cache
- Installs Nginx Helper plugin
- Installs Redis Object Cache plugin
Set Environment Type
Specify the WordPress environment type:productionstagingdevelopmentlocal
File Locations
After creating a site:| Location | Purpose |
|---|---|
/etc/nginx/sites-available/example.com | NGINX configuration |
/etc/nginx/sites-enabled/example.com | Symlink (site is active) |
/var/www/example.com/htdocs/ | Website files |
/var/www/example.com/wp-config.php | WordPress configuration (if WP) |
/var/log/nginx/example.com.access.log | Access logs |
/var/log/nginx/example.com.error.log | Error logs |
Automatic Features
When creating sites, Webinoly automatically:- Sets proper file permissions (
www-data:www-data) - Enables both www and non-www domains (for root domains)
- Configures force redirect to non-www by default
- Sets up logging
- Includes security headers
- Creates site directory structure
Next Steps
WordPress Features
Configure WordPress-specific features like multisite, caching, and plugins
SSL Certificates
Enable HTTPS with Let’s Encrypt SSL certificates
Site Management
Manage existing sites - enable/disable, delete, and configure
Reverse Proxy
Set up reverse proxy for Node.js, Python, or other applications