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!

Add-On's pointing to Root Domain

Discussion in 'General Discussion' started by SylvrFalkon, Oct 26, 2007.

  1. SylvrFalkon

    SylvrFalkon Member

    Joined:
    Oct 10, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Hi Everyone,

    Since having my server reinstalled a while back, whenever a user adds a add-on domain to their account, it is point to that users root directory even though they had specified a folder to create.

    So, for instance, if I create add-on 'test.com' on user 'main'. So I specify the directory for test and it creates the folder, but then if I look in the httpd.conf, it has it pointing to the mail public_html and not public_html/test. Little confusing, never had it like this before, I don't want to manually edit it each time...

    Any ideas?

    James
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Haven't came across such a problem and haven't heard of it either. Try a /scripts/upcp --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SylvrFalkon

    SylvrFalkon Member

    Joined:
    Oct 10, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Ya, it is weird, ok, I will try that later tonight. Thanks.
     
  4. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    850
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    I am seeing this as well. upcp --force does not resolve issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    850
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    Uncheck "** Prevent users from creating subdomains outside of their public_html directory." apparently cPanel has not updated their X theme for this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. SylvrFalkon

    SylvrFalkon Member

    Joined:
    Oct 10, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Thanks for the advice, I have changed the setting, and will see how it goes next time I add an add-on domain. Thanks!
     
  7. SylvrFalkon

    SylvrFalkon Member

    Joined:
    Oct 10, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    My apache went down for some reason after changing the setting... which was stressful because I have Blackberries pointing to it for orders for a sales application... I went through re-building things, apache, cpanel, etc... still didn't work. Then tried Apache restart, and everything came up... was not fun... but at least it's alive again.
     
    #7 SylvrFalkon, Nov 1, 2007
    Last edited: Nov 1, 2007
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