The site.exe 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.
Location
%plesk_cli%
Usage
site.exe <command> [<domain name>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
Example
The following command sets up a new domain example.com within the
testdomain.tst subscription.
plesk bin site.exe --create example.com -webspace-name testdomain.tst
Commands
| Command | Parameter | Description | Example |
|---|---|---|---|
--create or -c
|
<domain name> |
Creates a new domain under an existing subscription. Requires the -webspace-name option. |
To add a site e xample.com to the testdomain.tst plesk bin site.exe --create example.com -webspace-name testdomain.tst or plesk bin site.exe -c example.com -webspace-name testdomain.tst |
--update or -u
|
<domain name> |
Updates properties of an existing domain. |
To limit the… |