Help - Search - Members - Calendar
Full Version: How would you organize this kind of user? [cPanel]
The Planet Forums > Control Panels > cPanel/WHM
platypus
Hello !

I am trying to figure out the best way to organize my users via WHM/cPanel. For pretty much everything I will be hosting, I will have complete access personally to the sites. Even if I am hosting client websites, it will probably be just me who will be logging in and doing things. So, I wanted to basically have one cPanel user that has control over a dozen or so domains. A lot of these websites will share certain files, so if I am logged in via ssh using this user, I should be able to make changes to any of the files.

When I create a new account via WHM, it asks for a domain. So lets say I create a user named bob and domain example.com. It creates:

/home/bob/public_html for the web root of example.com.

What I would prefer is to be able to create a user bob that can basically add his own domains (is this what is called a reseller account?). Then we would have:

/home/bob (which could be an empty directory)

Then bob can create:

/home/bob/example/public_html
/home/bob/anotherdomain/public_html

Can cPanel work this way or do I need to set up this directory structure manually?

THANKS!!!
icon_smile.gif
fishfreek
If thats what you really want to do then just enable addon domains in cpanel. Then create your 'master domain' and then log into cpanel and create addon domains within that master domain. It will create a folder structure like this

/home/domain1/public_html/ --> master domain
/home/domain1/public_html/domain2/ --> First addon domain
/home/domain1/public_html/domain3/ --> Second addon domain
platypus
Hmm, I will try that, thanks!

Conceptually, this seems a little odd however. If the master domain is example.com, and an add-on domain is anotherdomain.com, then what happens when I access http://www.example.com/anotherdomain/ ? It would seem that the domains are nested, whereas I would prefer them to have their own directory hierarchy. If my master domain has a lot of subdirectories, it might get confusing if I have a lot of domains mixed in. Is the best solution to just have a master domain that I don't plan to host much of anything on, so its public_html is essentially empty?
fishfreek
The concept of addon domains is that a client could add additional domains to his hosting account.

A reseller is totally different. Resellers have the ability to login to WHM and create, remove accounts as well as setup hosting packages. Resellers can only remove accounts they created so its not like someone coudl delete someone elses accounts. Unless you gave them the equivlent of root permissions with WHM.

Yes if you browsed to the second domain by just adding the subdirectory you would see the files.

Personally I would create each domain as its own account and keep each domains files seperate from the other.
platypus
Verrry helpful!

I think you have the right strategy here... I will give it a go!

Thanks again!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.