Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    1

    Default add-ons in subdirectories

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2003
    Location
    moscow
    Posts
    294

    Default

    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
    https://robobill.net
    US dedicated, Europe and Asia and Russia dedicated server. Shared, Reseller, VPS hosting in US and Europe.
    We are RESELLER of dedicated servers since 2002.

Similar Threads & Tags
Similar threads

  1. I'm need This Add-ons
    By lmsty in forum cPanel Developers
    Replies: 5
    Last Post: 07-23-2008, 04:43 AM
  2. Client Add-ons
    By ScrltOTara in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-03-2008, 03:42 PM
  3. remove Add-ons
    By Beermonster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-23-2006, 12:07 PM
  4. Should this be a part of Add Ons?
    By anup123 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-23-2005, 06:49 AM
  5. Add-Ons and FTP...
    By Tom Pyles in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-17-2002, 11:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube