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!

Main Domain and Addon Domains

Discussion in 'General Discussion' started by Possumnz, Apr 25, 2008.

  1. Possumnz

    Possumnz Member

    Joined:
    Apr 25, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Hi

    I have a Cpanel configured so I have my main url just off the www folder. I am also hosting clients with addon Domains off the www folder, in their own folders.

    Is there a way I can put my own domain's files into a folder off the www folder so I can not mix my clients folders up with my own files.



    Cheers Possumnz
     
  2. 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
    While you cannot currently change the directory for your main site's served files (~/public_html, also symlinked as ~/www), you can change the directory for addon domains in the X3 theme. You need to use the X3 theme for this functionality. When creating a new add-on domain, instead of having it in ~/public_html/addonname where addonname is the name for the addon domain, simply change that path to something like ~/addons/addonname or whatever path designation you desire.
     
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