Thank you for aapanel, I've been using it for my websites and VPS. It is no problem if I install wordpress since every file will be located inside wwwroot. However if I want to install Moodle, it requires a moodledata dataroot outside wwwroot. I was able to install moodle with moodledata inside wwwroot by editing its install.php file, but I always be notified by Moodle that the dataroot directory is not secure since it is located inside wwwroot.
I know how to create directory outside wwwroot, but every effort to make it writable by moodle was unsuccessful. Any suggestion? Thank you.