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.

Change document_root for subdomain

Discussion in 'General Discussion' started by alcest, Aug 10, 2009.

  1. alcest

    alcest Member

    Joined:
    Aug 10, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    How to change default subdomain docuemnt_root

    from: /user/public_html
    to: /user/public_html/subdomains

    for ALL existing, and new create accounts?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    To change the document_root you will need to modify the httpd.conf file which is located at the following locations and change the virtual host document root path:

    /usr/local/apache/conf/httpd.conf
     
Loading...

Share This Page