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!

Help on subdomains!

Discussion in 'General Discussion' started by haris_led, Aug 26, 2007.

  1. haris_led

    haris_led Registered

    Apr 8, 2007
    Likes Received:
    Trophy Points:
    Hello, i want to know how it is possible via cpanel to configure apache server not to link the subdomains to: but only to:

    Right now when i create a subdomain (named test) both and are linked to the files that are under /home/example/public_html/test folder.

    I just want the whole "subdomain folder" not to have access from
    Only from

    Is this possible to happen via cpanel, or i have to change values in the apache's conf?:confused:

    Thanks a lot! :)
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    When you create the subdomain, place its document root outside of public_html when prompted on where to place the files for that subdomain.

    If you do not see that prompt, ensure you are running cPanel version 11 with the X3 theme.
    #2 cPanelDavidG, Aug 27, 2007
    Last edited: Aug 27, 2007

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