I'm developing several websites locally, each of them having its own pseudo-domain name, and its Apache VirtualHost:
- mywebsite.localhost
- images.mywebsite.localhost
- anotherwebsite.localhost
I'd like to make these websites available to any computer on my local network, which would allow me to test my website on mobile devices (iOS).
Is there a way to "publish" a name such as mywebsite.localhost or mywebsite.local to my local network, so that these names would resolve to my computer's IP address for any computer on the network?
I don't think I can configure my ISP's router in any way to act as a DNS server.
While researching, I read about mDNS and Bonjour, but can't find if they are what I'm looking for, and even less how to make that work.
Any help appreciated!