PDA

View Full Version : Multiple domains for one account


jbwiv
06-21-2005, 09:42 AM
Guys,

I'm pretty new to CPanel, and having an issue. I have one account on the server I'm moving to (and manage from the command line) that has multiple domains it's responsible for. I'd like to maintain this structure on my VPS. So, my account domain_admin might be responsible for a.com, b.com, a.net and b.net.

I'm at a loss at how to do this, and not finding much help in the CPanel documentation. I found a forum post that suggested I should create the account as a reseller, which I did, and then I went into Reseller permissions and gave this account the ability to create accounts, but that still doesn't remove the requirement to have one user account for each domain name, from what I can tell.

How should I go about this?

Thanks!

jbwiv
06-21-2005, 09:43 AM
To clarify, each of these domains should point at different web roots.

Thanks!

movielad
06-22-2005, 10:05 AM
I'm wondering if you're thinking off the "add-on" domains. An "add-on" domain within a package means that you can host multiple domains (up to whatever number you've set in the package manager) under one account. Note - this is NOT the same as a reseller account.

What an "add-on" domain does is to create a subdirectory off of the main account's public_html directory and cPanel sets-up the VirtualHost Directory directive accordingly. For example:

yourdomain.com
------------------------------------------
/home/account/public_html

Add-on domain yourdomain2.com
------------------------------------------
/home/account/public_html/account2

Of course, if you don't like that method, there isn't anything to stop you actually setting up your own VirtualHost entry within /etc/httpd/conf/httpd.conf and creating your own directories within /home for those domains. I've never had any manual entries overwritten by cPanel (yet).

M.