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/
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.