Getting non-cPanel users (with subdomains) working with suexec?

muppet

Member
May 24, 2005
5
0
151
OK here's what I'm trying to do.

I've got several folks who I used to host as subdomains on my site when I used DreamHost for hosting. I've since switched to a dedicated box with cpanel.

What I want to do is this:

I want to give each of these folks a subdomain (not their own full domains) of my own site, with their own virtual hosts. So far so good, I can do that with cPanel.

I want them each to have FTP access ONLY to their subdomain folders. Easy, I can do that with virtual FTP users.

I want their scripts to execute as their own users, with access only to their subdomain foldes on the filesystem. OOPS, I can't do that with virtual FTP users.

is there any way to set this up with cpanel or am I going to end up mucking about in the backend, creating users (and possibly subdomains) manually in *nix and then configuring suexec appropriately?

Help?

Thanks!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,453
31
473
Go on, have a guess
The easiest and best way is to set the subdomain up as a full cPanel account in WHM - you'll have to remove it from your main domains cPanel account first.
 

muppet

Member
May 24, 2005
5
0
151
Forgive me for the novice question, but how do I do this? When I create a cPanel account, it asks for a domain. Can I enter a subdomain there instead of a full domain and expect it to work properly? Will the user then have their own home directory on the filesystem containing the document root for their subdomain?

Thanks for your help!