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!

Folder structure [moved]

Discussion in 'General Discussion' started by klasnygren, May 7, 2005.

  1. klasnygren

    klasnygren Registered

    Joined:
    Jul 23, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Folder structure

    Hi!

    I am using cPanel to manage a number of domains and subdomains.

    The panel works fine, but I have a problem keeping track of the folders for the domains and the subdomains as they are all created in the public_html folder.

    Having 3 domains with about 4 subdomains per domain I get a total of 15 folders in the public_html folder. Adding two more domains would result in 25 folder and so on. And I cannot use the same name for subdomains related to different domains.

    Is there some way to create a folderstructure such as the one below instead?

    public_html
    domain1_name​
    sub1_domain1_name​
    sub2_domain1_name​
    ...​
    domain2_name​
    sub1_domain2_name​
    sub2_domain2_name​
    ...​

    Kind regards,

    Klas Nygren
     
    #1 klasnygren, May 7, 2005
    Last edited: May 7, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Yes, but you'd need to edit httpd.conf and change the DocumentRoot directive in the VirtualHost containers to point to the relevant directories.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. klasnygren

    klasnygren Registered

    Joined:
    Jul 23, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Access

    Hi, and thank you for your quick reply!

    Do I have access to httpd.conf from the cPanel interface? I only have access to this interface and not to the webserver...

    Regards,

    Klas


     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, your hosting provider would have to make such changes for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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