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.

Problem with subdomains

Discussion in 'General Discussion' started by kouen, Jan 4, 2009.

  1. kouen

    kouen Registered

    Joined:
    Jan 4, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel 11.24.4-CURRENT with WHMCS 3.8.somethin

    ok, here's the issue, I want to make a subdomain that is in a subdirectory of
    /home/username/ but not in a subdirectory of /home/username/public_html

    I am using the x3 theme

    I tried typing in the subdirectory without the public_html added in, and it looks good, however, when i submit it to the server, it still puts it as a subdir of public_html

    Assuming I have root access to the server, where would i fix this misbehaving function so that it puts my subdomains where i want them?
     
  2. aaron_nimocks

    aaron_nimocks Member

    Joined:
    Dec 27, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Only way I know how to do that is with SSH access to the server and doing command line entries to make a folder prior to public_html.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In WHM > Tweak Settings, find:

    Prevent users from creating subdomains outside of their public_html directory.
     
  4. kouen

    kouen Registered

    Joined:
    Jan 4, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    thanks much, you've been a great help
     
Loading...

Share This Page