I'm setting up an ubuntu embedded system as a "master" server which will then broadcast to clients using ad-hoc in a wlan. The purpose is for a client to access the wlan and then access a webapp on my local network.

But instead of having then going to my ip address or my hostname.local i want then to be redirected from all requests to the my hostname.local address in order for them to only access my webapp and nothing else.

Searching on the forum, I found dnsmasq although I'm not sure if this would work for me seeing as I need all requests * to be redirected.