Nkduodu If your users don't mind accessing the Moodle in the MoodleBox by its IP address, then you don't need any DNS. Just change the line
$CFG->wwwroot = 'http//moodlebox.home'; in the Moodle configuration file accordingly. It is in /var/www/moodle.
You should remember that MoodleBox can have two IP addresses - one for the wireless interface and one for the Ethernet (wired) interface. The Ethernet address is dynamic, may also be absent if no network cable is connected. So it is better to use the wireless IP, which is always 10.0.0.1.
I don't think it is a good idea to change PHP code through WinSCP - if you mean transfering them to your Windows computer, edit and transferring back to the MoodleBox. Windows programs have the habit of inserting control code to text files which PHP don't like. The preferred program is PuTTY. See https://moodlebox.net/en/help/command-line-connection/. You have to replace moodlebox.home in the screen-shot with the IP address.