The site
utility is used for managing sites within an existing
subscription.
Note: For information on how to create and manage subscriptions, refer to
the Subscriptions: subscription Utility section.
Usage
site <command> <domain name> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
The following command sets up a new domain example.com in the
testdomain.tst subscription and enables hosting.
plesk bin site --create example.com -webspace-name testdomain.tst -hosting true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<domain_name> |
Creates a new website inside an existing subscription.. Requires the -webspace-name option. Note: If SELinux is enabled on your operating system, the |
To create a site with the name example.com inside the plesk bin site --create example.com -webspace-name testdomain.tst or plesk bin site -c example.com -webspace-name testdomain.tst |
…