Hello,
I am new in this job and I am still learning.
First I want to tell the problem. When I create a subdomain, its opening in the public_html/Sub but I want to make it like Domain/subdomains/Sub for all of the domains not only one of them.
As I read on the documantation and the topics.
I have to change the virtual_host2_secure_sub.conf and virtual_host2_sub.conf like below;
|CUSTOM1|
|?DOCROOT=`HOME`/domains/`DOMAIN`/subdomains|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/subdomains|
Its okey and I have changed both.
If I create a subdomain its create the folder in public_html/Sub but in the httpd.conf it tells it is in the Domain/subdomains/sub.
It is okey if I take the sub folder from public_html and put on the Domain/subdomain/sub.
Its working like that.
But why it is creating the folder in public_html, is there a solution for that?
And also if I read the README file on the templastes, it tells me, if I chane the documents in templates folder on the next update they will be overwriten and lost. I have to put a copy of them on the custom folder inside the template folder and change them in custom folder. But there is no custom folder. Should I create a custom folder or in the new version of the Directadmin it is no necessary?
I am new in this job and I am still learning.
First I want to tell the problem. When I create a subdomain, its opening in the public_html/Sub but I want to make it like Domain/subdomains/Sub for all of the domains not only one of them.
As I read on the documantation and the topics.
I have to change the virtual_host2_secure_sub.conf and virtual_host2_sub.conf like below;
|CUSTOM1|
|?DOCROOT=`HOME`/domains/`DOMAIN`/subdomains|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/subdomains|
Its okey and I have changed both.
If I create a subdomain its create the folder in public_html/Sub but in the httpd.conf it tells it is in the Domain/subdomains/sub.
It is okey if I take the sub folder from public_html and put on the Domain/subdomain/sub.
Its working like that.
But why it is creating the folder in public_html, is there a solution for that?
And also if I read the README file on the templastes, it tells me, if I chane the documents in templates folder on the next update they will be overwriten and lost. I have to put a copy of them on the custom folder inside the template folder and change them in custom folder. But there is no custom folder. Should I create a custom folder or in the new version of the Directadmin it is no necessary?