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.

configuring cpanel.

Discussion in 'General Discussion' started by micron, Aug 21, 2003.

  1. micron

    micron Member

    Joined:
    Dec 1, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    configuring cpanel, changing default value of subdomain documentroot.

    i know i can go to httpd.conf to manually change the DocumentRoot of a subdomain, but is there a configuration file where can i change the default value so all my subsequent subdomain creations have a value of /home/domain/public_html/users/subdomain instead of the default /home/domain/public_html/subdomain? also, will this affect/break cpanel if i try to delete a subdomain thats modified?

    regards.

    cPanel.net Support Ticket Number: subdomain DocumenRoot.
     
    #1 micron, Aug 21, 2003
    Last edited: Aug 21, 2003
  2. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    I have had to do this on many of our accounts because our users had used a control panel for the past 5 years where they could specify sub-domains to point to any sub-directory they'd like under public_html. I just created their sub-domains like normal, then went into the httpd.conf and changed them to point to the different directories. It won't hurt anything to change it and when you delete the sub-domain it's not going to break cPanel.

    I think they should make it so the user can specify where they would like to point the sub-domain instead of automatically making it have to be the same name as the sub-domain. Some users like to put their sub-domains under one folder and this is one thing many of them have complained about since moving over to cPanel.

    I would think it would be an easy modification for cPanel, since they would just add an empty textbox where the user could specify their sub-directory(s) name and add it after public_html to the httpd.conf.

    cPanel.net Support Ticket Number:
     
  3. micron

    micron Member

    Joined:
    Dec 1, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    thanks for the reply. i submitted a feature request. but i was hoping somebody knew where cpanel's conf files were located so that i can manually change the default value.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page