I'm testing out self-hosting using Oracle's Virtual Box and I'd like to report my findings.
The goal was to be able to access a local network resource (the VBOX) from another computer (host).
This succeeded, after 50 hours of intermittent focus. This is how:
You must use a bridged adapter for the VBOX. I chose my ethernet adapter.
You must use the IP addresses on the shared adapter. My paid VPN did not work, likely because of the NOARP, POINTTOPOINT flags.
Go into sites available conf file under sites-available and pick a port. I did not pick Port 80. My custom port worked.
Go into ports.conf and add the custom port there, too.
Allow these ports through the firewall on all devices you wish to go back and forth with.
Give www-data Access only group privileges to any folder you need visible. Folders are in a working home directory but only ten are viewable.
Access the resource using its private IP address and port you specified in the apache 000 conf and ports file, followed by any known file up ahead.
I did this on a Class B private network owned by my landlord. I will consider running an isolated network long term.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!