I'm trying to figure out how to modify the document root of a domain using the latest DirectAdmin. DirectAdmin was downloaded to the server 2 days ago. When I get to the domain configuration screen under the admin account, I can see the contents of the main httpd.conf file that apache loads and i see a bunch of links listing template files in the /usr/local/directadmin/data folder.
When I click on customize, I was expecting to see directadmin code showing what folders the domain points to but all I see are two empty boxes, so then I think there's a way to do it from within the server shell itself. Yes I have full SSH access.
If i modified or created a file in the /etc/httpd/conf/extra folder (I think that's where it is where the miscellaneous files are loaded for apache), what special command would I need to run to make DirectAdmin understand the changes before restarting/reloading apache?
And will those files in the extra folder remain in-tact, or will they be overwritten by DirectAdmin?
I ask because I prefer to update the docroot through SSH without DirectAdmin screwing up the settings afterwards, and its apparent if I modify the httpd.conf in the /etc/conf folder then it will be overwritten.
Thanks.
When I click on customize, I was expecting to see directadmin code showing what folders the domain points to but all I see are two empty boxes, so then I think there's a way to do it from within the server shell itself. Yes I have full SSH access.
If i modified or created a file in the /etc/httpd/conf/extra folder (I think that's where it is where the miscellaneous files are loaded for apache), what special command would I need to run to make DirectAdmin understand the changes before restarting/reloading apache?
And will those files in the extra folder remain in-tact, or will they be overwritten by DirectAdmin?
I ask because I prefer to update the docroot through SSH without DirectAdmin screwing up the settings afterwards, and its apparent if I modify the httpd.conf in the /etc/conf folder then it will be overwritten.
Thanks.