Plesk for Windows
kb: how-to
Plesk for Linux
ABT: Group B
Applicable to:
- Plesk
- Plesk for Linux
- Plesk for Windows
Question
While checking the status of the domain in Plesk database or by API apart from default 0 "Active" there could be other codes such as 1,2,4 or even 272 and 288. In Panel all of them are shown as "Suspended". What do these status codes mean?
Answer
Here is the table of status codes that might be returned by Plesk and their meanings:
status value value binary desсription
STATUS_ACTIVE 0 00000000 active
STATUS_STATUS 1 00000001 suspended
STATUS_WITH_PARENT 2 00000010 suspended because of parent object
STATUS_BACKUP_RESTORE 4 00000100 suspended because of backup/restore
STATUS_WEB_SERVICE 8 00001000 service is temporarily off for web
STATUS_ADMIN 16 00010000 suspended by administrator
STATUS_RESELLER 32 00100000 suspended by reseller
STATUS_CLIENT 64 01000000 suspended by client
STATUS_EXPIRED 256 100000000 suspended due to expiration
There is also a bitmask combination rule, which may combine the different statuses into one by summing up codes. E.g. 272 is a combination of statuses 256 and 16, which means that domain was suspended by the administrator and reached an expiration date.
Comments
0 comments
Please sign in to leave a comment.