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.

Subdomains and main domain

Discussion in 'General Discussion' started by latpanel, Aug 19, 2006.

  1. latpanel

    latpanel Well-Known Member

    Jan 23, 2004
    Likes Received:
    Trophy Points:
    In my server I have a "main domain" which docroot is /home/user/public_html/htdocs
    Each subdomains is allocated in /home/user/public_html/subdomains. That is;

    subdom1 is in /home/user/public_html/subdom1
    subdom1 is in /home/user/public_html/subdom2
    subdom1 is in /home/user/public_html/subdom3

    and so.

    In this installation points to /home/user/public_html/htdocs
    And points to /home/user/public_html/subdom1
    And points to /home/user/public_html/subdom2
    And points to /home/user/public_html/subdom3

    So there is no and so.

    It's all OK, but when I install phpBB or osCommerce or any other program with cPanel installer, the script copies files in /home/user/public_html/ and not in main directory (/home/user/public_html/maindir).

    Ah, in http.conf DocumenRoot is set to /home/user/public_html/htdocs, and there are a first virtualserver defined with this docroot and as server name.

    Is there any way to install addons modules in the proper directory?


Share This Page