Skip to main content
We are aware of an issue after updating cPanel that causes cPanel SOLR to not start. Please see the following article for more information and updates:
Recent update including tzdata-java causes cPanel SOLR to not start.

Separate Accounts for Subdomains?

Comments

5 comments

  • Jcats
    For security purposes it is the best way to do it. You would just create a separate cPanel account for each subdomain. This stops cross site attacks since having each domain within a single cPanel account means all files are owned by the same linux user which makes it super easy for an attacker to infect other sites within that same account. Its also good if you want to limit a developer from being able to access other sites within the same cPanel account. You will need to enable an option in WHM though.. WHM > Tweak Settings > Allow WHM users to create subdomains across accounts If the domain is the same domain used for your server hostname then you also need to enable > Allow resellers to create accounts with subdomains of the server"s hostname.
    0
  • jmcg232
    Thanks!
    0
  • cPanelMichael
    Hello, You will likely find it's more organized and secure to create a separate account for each subdomain if each subdomain uses it's own separate website or application, as mentioned in the previous post. You can authenticate in cPanel with the root password to see the "Switch Account" feature at the top of the cPanel interface, allowing you to easily switch between accounts. Thank you.
    0
  • blue928
    Within an account, subdomains are unlimited (if configured that way). Does having a separate account to represent a subdomain on the same primary domain count against available user licenses? In other words, does sub1.domain.com, sub2.domain.com, and sub3.domain.com use 3 different licensing slots?
    0
  • cPRex Jurassic Moderator
    @blue928 - nope! The license count is for the actual number of cPanel accounts on the machine, which does not include sub/addon domains.
    0

Please sign in to leave a comment.