Plesk for Windows
kb: how-to
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
What domains are counted in the domain limit of a Plesk license?
Answer
All domains added in Plesk are counted in the domain limit:
- active/disabled/suspended domains
- domains with the "forwarding" hosting type
- domains without hosting
Subdomains and domain aliases are not counted in the domain limit, if they have been created using the Add Subdomain or Add Domain Alias buttons.
If a subdomain, e.g. sub.example.com, has been created via the Add Domain button, it will be counted in the domain limit as a domain.
Additional Information
To get the current number of domains:
-
Connect to the server via SSH (Linux) / RDP (Windows Server).
-
Run the following command (in Windows Server, use a command prompt as an Administrator):
MYSQL_LIN: plesk db "SELECT COUNT(*) FROM psa.domains WHERE parentDomainId = 0"
Comments
1 comment
Very useful. One can also execute the following to see the exact domains being counted for Plesk License: plesk db "SELECT id,name FROM psa.domains WHERE parentDomainId = 0"
Please sign in to leave a comment.