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.

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:
    1
    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:
    7
    Trophy Points:
    0
    This would be the primary difference between "parked domains" and "addon domains" ...
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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.
     

Share This Page