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 domain file location

Discussion in 'General Discussion' started by kaborka, Aug 30, 2014.

  1. kaborka

    kaborka Registered

    Aug 30, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Newbie question: I have two hosted domains. The www folder location for the primary domain is /home/myacct/public_html. The root folder for domain2 was created as .../public_html/domain2. This means when someone visits, they see the domain2 website. This is not good. What is the way to organize it so the files are kept separate?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can choose the document root for the addon domain during it's creation. Or, for existing addon domain names, click on the edit icon under "Document Root" in the Addon domains section of cPanel.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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