sub domain do not work

Iskandar

Verified User
Joined
Aug 19, 2020
Messages
98
Dear

i have create sub domain in direct admin but do not work because permission issue where i have changed perrmission folder and file.. How to fik it..? Help .. Thank


Forbidden​

You don't have permission to access this resource.
 
When we create a sub domian, a cgi and an index.html file will be formed as the default, but when called subdomain.domain.xx, a moderate permission message appears if it is called domain.xx / subdomain / then the default index.hmtl file can be read. How does this happen and to solve the subdomain to get called successfully?
 
[Mon May 31 04:06:31.573917 2021] [autoindex:error] [pid 25353:tid 140254317127424] [client 111.67.73.138:65415] AH01276: Cannot serve directory /home/admin/domains/mutiarasukma.net/: No matching DirectoryIndex (index.html,index.htm,index.shtml,index.php,index.phtml) found, and server-generated directory index forbidden by Options direct
 
Cannot serve directory /home/admin/domains/mutiarasukma.net/
That is the domain name. You should place files in the public_html like this:
/home/admin/domains/mutiarasukma.net/public_html

After you create a subdomain, lets say you create sub.domain.com as subdomain, then it normally looks like this:
/home/admin/domains/mutiarasukma.net/public_html/sub
your index.html should then be in there.
 
Back
Top