Plesk for Windows Plesk for Linux kb: how-to ABT: Group A
- Plesk for Linux
- Plesk for Windows
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:
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"
I'm wondering the following, I currently use the Plesk Web pro Edition on my Ubuntu servers which has an 30 domains limit. For my customers I create subdomains for my website, which I add in Plesk as domain (but would work as subdomain) (I add it as an domain so I can give it it's own customer), in the domain list it gets detected as 'website'. Does this counts as domain with the domain limit too? Since it technically isn't an actual domain but an subdomain.
@Thijs If you created it as domain in Plesk so it will be counted as domain.
Ok! Thank you! Will probably upgrade to Web host edition soon than ;)
Sub domains craeted via API are counted as another domain. why?
Hi @Luis Zubeldia!
I was not able to reproduce this behavior, using Web Admin license with 10 domains limit I create more then 15 sub-domains with the following API query:
Could you let me know the Plesk version in case the issue is actual with the same API request?
theses Subdomains have their own subscriptions. seems that they are counted as fulll domain for licence.
Could you please clarify what API request you use to create a subdomain?
Also, may I know Plesk version you are running?
Please sign in to leave a comment.