What do the domain status codes in Plesk mean?

Created:

2016-11-16 12:40:09 UTC

Modified:

2017-08-16 16:22:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

What do the domain status codes in Plesk mean?

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 11.x for Linux
  • Plesk 12.5 for Windows

Symptoms

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?

Resolution

Here is the table of status codes might be returned by Plesk and their meanings:

status value            value   binary          desсription
STATUS_ACTIVE 0 0000000 active
STATUS_STATUS 1 0000001 suspended
STATUS_WITH_PARENT 2 0000010 suspended because of parent object
STATUS_BACKUP_RESTORE 4 0000100 suspended because of backup/restore
STATUS_ADMIN 16 0001000 suspended by administrator
STATUS_RESELLER 32 0010000 suspended by reseller
STATUS_CLIENT 64 0100000 suspended by client
STATUS_EXPIRED 256 1000000 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 administrator and reached expiration date.

Have more questions? Submit a request
Please sign in to leave a comment.