Suspend / Unsuspend domain via command line Plesk

To suspend or unsuspend a domain on a Plesk server via the command line, we use the Plesk command line tools. Most are just one liners :)

Suspend a Domain

Suspend domain via command line Plesk
[code]/usr/local/psa/bin/domain -u stuartsdomain.co.uk -status disabled[/code]

Unsuspend a Domain

Unsuspend domain via command line Plesk
[code]/usr/local/psa/bin/domain -u stuartsdomain.co.uk -status enabled[/code]




1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *