In FTP and via File Manager in DirectAdmin, there is a symlink to the public_html folder. This is a kind of shortcut that prevents you from having to type the full path to your public_html folder each time. While it’s not required for your hosting package to function correctly, it is very convenient to have it in place. If you have removed it, you can restore the symlink as follows.
If you manually recreated the public_html folder (directly at the top level), you must delete it first.
1. Log in to DirectAdmin.
2. In the menu, go to 'Account Management' → 'Domain Setup'.
3. Check the box next to your domain name and click on 'Set as default'.