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.

Add-on domain file location

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

  1. kaborka

    kaborka Registered

    Joined:
    Aug 30, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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 domain1.com/domain2, 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

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
Loading...

Share This Page