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.

add-ons in subdirectories

Discussion in 'General Discussion' started by restino, Feb 27, 2006.

  1. restino

    restino Registered

    Joined:
    Feb 27, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    i cant get cpanel to create add-ons in subdirectories. only in the main directory.

    i want to organzie it like this:

    home/sites/domain1
    home/sites/domain2
    home/sites/domain3

    but it will only do this:

    home/domain1
    home/domain2
    home/domain3

    can anyone tell me what specifically i need to put in the box to get this to happen?
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    with standard tools this is impossible. honestly it is possible, but in this case you cannot use addon domain as usual infuture. So, will be better if you create your own script and use it for doing this. Or, if you don't need this feature very frequently you can do this manually by creating subdirectories and changing DocumentRoot value in /etc/httpd/conf/httpd.conf
     
Loading...

Share This Page