setting the root folder for a domain name ?

Discussion in 'General' started by anarchoi, Jun 11, 2014.

  1. anarchoi

    anarchoi New Member

    I have just added a new domain name to my server, but i would like to set the root of this domain name to a specific folder instead of the root of the server. Is it possible ?

    instead of
    /public_html/
    i want the root of www.mydomain.com to be
    /public_html/mydomain.com/
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The default folder of a domain name is "web" and not "public_domain". You can change the folder by adding a new DocumentRoot Directive in the apache directives field of the website to override the default docroot. But I recommend to not do that and use the default docroot "web" instead as you woul loose functions like website statitics when you manually override the docroot.
     

Share This Page