You can find
$CFG->wwwroot = ... in the file
To stop Hostapd, you should input this command into the CLI of your MoodleBox:
sudo systemctl stop hostapd.service
sudo systemctl disable hostapd.service
Note: Be careful! This is unsupported and you're on your own. Anyway, good luck 😀 !