domain_restriction <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
plesk bin domain_restriction --add -name example.com
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
Adds a domain name to the list of prohibited domain names. |
To add a domain name plesk bin domain_restriction --add -name example.com or plesk bin domain_restriction -a -name example.com |
|
|
Adds several domain names to the list of prohibited domain names. Used with the |
To add a number of names to the list of prohibited domain names: plesk bin domain_restriction --add-list -list example1.com,example2.com,example3.com |
|
|
Removes all domain names from the list of prohibited domain names. |
To remove all domain names from the list: plesk bin domain_restriction --remove-list |
|
|
Removes a domain name from the list of prohibited domain names. |
To remove the domain name example1.com from the list: plesk bin domain_restriction --remove -name example1.com or plesk bin domain_restriction -r -name example1.com |
|
|
Updates a prohibited domain name. |
To modify the prohibited domain name example1.com: plesk bin domain_restriction --rename -name example1.com -new-name example2.com |
|
|
Turns on the checking for prohibited domain names. |
To enable checking for prohibited domain names server-wide: plesk bin domain_restriction --enable |
|
|
Turns off the checking for prohibited domain names. |
To disable checking for prohibited domain names server-wide: plesk bin domain_restriction --disable |
|
|
Displays the list of prohibited domain names. |
To view the list of prohibited domain names in Plesk: plesk bin domain_restriction --list or plesk bin domain_restriction -l |
|
|
Displays help on the usage of the utility. |
To view help on the use of the plesk bin domain_restriction --help or plesk bin domain_restriction -h |
Option |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Specifies a domain name. |
To add a domain name plesk bin domain_restriction --add -name example.com |
|
|
Specifies a new name for a domain in the list of prohibited domain names. Used with the |
To modify the prohibited domain name example1.com: plesk bin domain_restriction --rename -name example1.com -new-name example2.com |
|
|
Specifies a list of domain names. Used with the |
To add a number of names to the list of prohibited domain names: plesk bin domain_restriction --add-list -list example1.com,example2.com,example3.com |