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.

Create subdomain with seperate user account

Discussion in 'General Discussion' started by section31, Jul 29, 2008.

  1. section31

    section31 Active Member

    Joined:
    Sep 3, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    San Antonio
    Is there a way I can create a subdomain for a seperate user account.

    domain is : foobar.com
    user is : foobar

    Now let's say I create a subdomain.
    domain: sub.foobar.com
    user: subfoobar

    The reason I want a separate user is for security reasons for ftp and shell purposes. I would like to give someone ftp and shell access to a sub domain to our site for development reasons. Since I have suexc enabled, a separate user would be appropriate, right?
     
  2. xyber13

    xyber13 Well-Known Member

    Joined:
    May 30, 2006
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Subdomain

    Hi Section31,

    Sure, you can create a user separate user account for your subdomain. All you have to do is make sure, the primary domain is also hosted on your server. Then in the creation of the new account for your subdomain, just enter the subdomain you would like to assign to the user. Make sure you have not added the same subdomain name in you primary domain account otherwise it might induce conflict.

    Rgrds,
    -Xyber13.
     
  3. section31

    section31 Active Member

    Joined:
    Sep 3, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    San Antonio
    Ok, i just figured out that I can just add subdomains as an account. What happens if I have that subdomain already created? Will this give me an error or will it break cpanel...lol
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,469
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I would think it would just refuse to go thru.
     
Loading...

Share This Page