create_site
Set up a new site on a server by specifying the server ID and root domain. Customize web directory, system user, and project type for your framework.
Instructions
Create a new site on a server (vhost, directory, system user). Provisions an empty site; install a repository/deploy separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | The ID of the server to create the site on | |
| root_domain | Yes | The site's domain, e.g. 'app.example.com' | |
| web_directory | No | Web root relative to the project (default '/public' for Laravel) | |
| system_user | No | System user the site runs as (default 'ploi') | |
| project_type | No | Project type: laravel, php, nodejs, statamic, wordpress, etc. (default 'laravel') |