What domains are counted in the domain limit of a Plesk license?
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.
To get the current number of domains:
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”