Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    51
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice