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.

Question about mod_userdir

Discussion in 'Security' started by cyndre2, Sep 16, 2008.

  1. cyndre2

    cyndre2 Member

    Joined:
    Jul 15, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi - I am trying to get our current website moved over to a new cpanel server. We are an isp and when signing up you recieve an email account, ftp account, and web space (accessed via http://domain.com/~user/) Is their a way to duplicate this in cpanel? I have enabled mod_userdir in security, but it only lets my domain accounts veiw their websites.

    http://resellerdomain.com/~domainusername/

    What I am trying to accomplish is this.

    http://domainname.com/~email_username/

    So when a customer signs up for email, I create a ftp account, email account, and personal webspace.

    Can cPanel do this or am I going to have to keep another webserver running for our main domain name?
     
  2. cyndre2

    cyndre2 Member

    Joined:
    Jul 15, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Yup, that was me. I have decided to write a script that will create the domain username, and the email account. I will also create a blank dns template for use with it. I have turned mod_userdir protection on, and allowed it for my main domain, so the customers will end up going to domain.com/~username but username.domain.com will not work.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I replied to a ticket of very similar nature earlier today. If that was you, please read my email response and feel welcome to reply with any questions you have.
     
Loading...

Share This Page