Domains, Organizing Sites, and Service

Apr 13, 2019
10
1
78
USA
cPanel Access Level
Website Owner
Not necessarily looking for an answer (though I have looked and would gladly take one). But some help pointing to the right documentation and concepts would also be appreciated.

I have a background in Plesk, but I think some of my confusion is that I am one layer lower than I might have been used to there (? maybe its just the UI in CPANEL seems to really overlap)

Here's the thing, trying to suss out the differences between main domain, domain, subdomain, and addon domain and how to best organize my users, their sites, and access and domains.

My company recently subscribed to a CPANEL service with the idea that each department would get its own isolated slice of the web and we could keep them separated, so I am trying to think of the differences between those things and how to keep them in isolation from each other, so if HR does something silly and gets hacked it is in isolation from the finance department's Wordpress site. Each with its own doc root would be nice as well as the folks in accounting are wildcards and tend to bring out the worst in any tech they touch.

We have the main domain (not sure the importance of that either). I do not have access to WHM.

so, eg.,

hr.web.example.com
finance.web.example.com
acctspayable.web.example.com
legal.web.example.com

Each with its own users and each web site running in isolation (and while I would, of course, take a well thought out answer, direction to equally useful and nuanced documentation would also be appreciated).

And I just can't seem to wrap my head around what I need and what I see (without it feeling kludgy)

Any help greatly appreciated.

Thanks
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello @JustWrappingMyHead,

The following document provides an overview of how domains and virtual hosts are setup on cPanel & WHM:

How Your Server Handles Domains and Virtual Hosts - cPanel Knowledge Base - cPanel Documentation

Based on the information you provided, setting up Addon Domains for each web property seems like the best approach. You can setup addon domains to use their own document root in the account's home directory (e.g. /home/username/addon).

Note that isolation has several meanings. If you're looking for more isolation, you'd want to create separate cPanel accounts for each individual web property (this would require access to Web Host Manager).

Thank you.