Originally Posted by falko
It makes sense, but I'm not sure how to implement it because example.com, sub.example.com, example2.com, and sub.example2.com are all subdomains (technically spoken).
How about this:
Add Max. Host value
Remove the Hostname input field when creating a new Co-Domain
Add tab Hosts on and show the Hostname by Domain.
For new Host remove Domain input field
This way it doesn't matter if all Co-Domains are subdomain because you can only add Hosts to Domains already created.
ISPConfig has to check how many Domains, meaning domain.tld, the user can add as well as how many Hosts.
What do you think about this?