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!

Specify DOCUMENT_ROOT when parking a domain in cPanel

Discussion in 'General Discussion' started by zaggs, Jun 26, 2009.

  1. zaggs

    zaggs Member

    Joined:
    Dec 5, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Hi Guys - is it possible to specify the DOCUMENT_ROOT of a domain when parking through cPanel? All parked domains by default point to "/public_html" directory. But I want them to point to "/public_html/myfolder".

    Is this possible?
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    This would be the primary difference between "parked domains" and "addon domains" ...
     
  3. 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
    Parked domains provide the same content as the main domain on your cPanel account.

    Addon domains can serve different content, hence can have a different document root when you set them up.
     
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