The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by muppet, May 26, 2005.

  1. muppet

    muppet Member

    Joined:
    May 24, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  3. muppet

    muppet Member

    Joined:
    May 24, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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!
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, yes and yes ;) That's exactly what you can do and what will happen.
     
  5. muppet

    muppet Member

    Joined:
    May 24, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I now love this forum.

    Thanks!
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Chirpy has that effect on people. :p
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should see some of my PM's :eek:
     
  8. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    That good? or That bad? I know some of the ones I've gotten fall more into one than the other. ;)
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's the bad one's - you can't please everyone no matter how hard you try :eek:
     
Loading...

Share This Page