Never had this problem with any DA install before
For background, I did a new DA install which failed because i did not have proper nameservers setup and so domain names could not resolve during the DA isntall and failed. So I just re-ran the DA install and everything seemed to go very well (although it renamed my machines hostname for some reason to a generic DA hostname). I then installed 4 versions of PHP (8.2, 7.4, 7.3, 5.4).
Then I setup my domain with the basics, it seems like any option for a symlink between private_html and public_html is no longer there and looking inside the DA file manager it seems to indicate such a symlink exists or is created by default. Great!
I double check inside shell
Great!
I set my domain to use a different PHP version (7.3)
I put my files into public_html but the webserver simply will not serve form the public_html directory, I just get the standard
Checking in my error logs I see this:
Strangely enough, when I look inside the private_html directory, there is another public_html directory inside of that private_html directory, is it supposed to be like that in new DA? Thats just a side thing.
But any ideas why private_html wont just symlink to public_html in previous versions of DA?
I am assuming something went werong with my installation TBH becauyse of that intial snafu I had, but everything else seems to be working so far
For background, I did a new DA install which failed because i did not have proper nameservers setup and so domain names could not resolve during the DA isntall and failed. So I just re-ran the DA install and everything seemed to go very well (although it renamed my machines hostname for some reason to a generic DA hostname). I then installed 4 versions of PHP (8.2, 7.4, 7.3, 5.4).
Then I setup my domain with the basics, it seems like any option for a symlink between private_html and public_html is no longer there and looking inside the DA file manager it seems to indicate such a symlink exists or is created by default. Great!
I double check inside shell
Code:
lrwxrwxrwx. 1 admin admin 13 Aug 2 19:50 private_html -> ./public_html
drwx--x--x. 3 admin admin 22 Aug 2 19:50 public_ftp
drwxr-xr-x. 4 admin admin 40 Aug 2 20:54 public_html
I set my domain to use a different PHP version (7.3)
I put my files into public_html but the webserver simply will not serve form the public_html directory, I just get the standard
Code:
Forbidden
You don't have permission to access this resource.
Checking in my error logs I see this:
Code:
[Sat Aug 02 20:55:54.274229 2025] [autoindex:error] [pid 1630822:tid 1631289] [client] AH01276: Cannot serve directory /home/admin/domains/---.com/private_html/: No matching DirectoryIndex (index.html,index.htm,index.shtml,index.php,index.phtml) found, and server-generated directory index forbidden by Options directive
Strangely enough, when I look inside the private_html directory, there is another public_html directory inside of that private_html directory, is it supposed to be like that in new DA? Thats just a side thing.
But any ideas why private_html wont just symlink to public_html in previous versions of DA?
I am assuming something went werong with my installation TBH becauyse of that intial snafu I had, but everything else seems to be working so far