I'll put instructions here for anyone who's interested as I think the system works.
Problem: using a typical home wireless router hardwired to a computer running an instance of Ubuntu server in a virtual machine to allow users to log onto the wifi and access the website that runs in the VM.
Solution steps:
1. dnsmasq: used for dns and dhcp
dns: set to address=/#/1.2.3.4 This matches any address to that ip. Also set local and domain names to the VMs hostname. Set the ethernet interface that dns will use by "interface=enp0s3"
dhcp: set the dhcp range on the same network as the VM. The VM ip address is set as static. Also set "dhcp-option=6,1.2.3.4"
hosts file: set an entry for the VM hostname pointing to its static ip address.
2. apache: follow instructions in
https://unix.stackexchange.com/quest...l-using-apache. I also included the code from
https://serverfault.com/questions/40...-a-single-page and modified 000-default.conf to convert any request to a single webpage.
I'll mark this as closed. I greatly appreciate everyone's help.