please look at https://moodlebox.net/de/help/zugang-ueber-ethernet/ ... the german translation shows a practical way to connect to your MoodleBox from ethernet. There a two possible configurations for this idea.
1. Configure the dns server
The dns server of your router tells every client which ip address is needed to connect your MoodleBox when you type in the dns name moodlebox.home into the address field your browser.
2. Configure the .hosts file
Every computer looks into his own .hosts configuration file to get the ip address for localhost but also to get its own dns name. If you add the ip address and the dns name of the MoodleBox. You should find the .hosts configuration file in the /etc folder. On my mac computer the .hosts file has the following content.
I hope you will get it.
Best regards, Ralf
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
# MoodleBox connection via Ethernet
# MoodleBox must get an ip address via dhcp
192.168.1.143 moodlebox.home moodlebox