IP address kinda depends upon home network or the private network DHCP.
At home, my private IP LAN uses 192.168.1.x ... not 0.x. When I worked at an ESC, before retirement, DHCP at that bulding had a 10.2.3.x range of IP's or in computer lab a 10.2.4.x range of IP's.
I used to do presentations about Moodle at conferences at various locations/ISD's/venues in Texas. Didn't know what private IP's were to be used in advance ... ever.
My VirtualBox, CentOS X, would pull a DHCP address. So I had the Virtual OS send to my email address a message automagically ... my ip is X.x.X.x.
With that, I'd edit workstation host file and map that IP to the fake .org domain I'd used to **install** the moodle ... something like devmoodle.tcea.org ... which wasn't present in any DNS anywhere.
Why did I do that? With 100+ curious educators and techies in the room, even IF I asked them not to attempt acquiring an account, many would. Sometimes, about half way through the presentation, I'd get a question from one in the audience that was bold enough to ask why they couldn't get to the site they were seeing projected on the screen. Wink! Wink! Told them I'd be happy to explain and show them after the presentation was over! (in many presentations/sessions similar, had only 1 network tech wanna know!).
Anyhoo ...
If one looks at docs for setting up a moodle with true hosting, 2 things should be first ... would be first ... a fully qualified domain name ... which should be used for the install ... and apache/web service running under https ... Https a little too techie for a beginner, but maybe not a FQDN.
If not giving presentations, etc. one could use what one sees in tutorials for home networks ... something like devmoodle.mynet.lan.
In the host file of a Mac or PC one could map that IP to the 'fake' FQDN. Thus access to the moodle ... and the config.php and all the tables in the DB that referred to the moodle ... would never change.
About WSL linux offerings ... not doing anyone any favor by offering 16.04 ... even if it is long term support. Just so happens I've spent last week with a 1U Dell PowerEdge 1950 drop shipped to me to fix the moodle that has Ubuntu 16.04 installed. 1950 was model number of server ... not anything to do with date ... That server has a thing called DRAC on it. Think when customer got the server first setup, back then, the focus was protections for Windows servers. Took days to find old documentation for 16.04 to set the guest OS with a static IP so I could work on fixing ... then getting site backup + course backups off that box to customer. A server with no networking (TCP/IP stack) makes for a very good boat anchor! :|
So for simplicity, Ubuntu means what? Ubuntu's latest and greatest?
Also ... php-sodium extension wasn't listed ... but newer versions of Moodle will recommend it be installed.
Again ... good work!
'SoS', Ken