Redirect all connected hotspot users to a specific IP

I am trying to configure an Android phone as a local web server, where people can directly connect to the phone (hotspot) and browse the content hosted locally on the phone (no internet access available). Similar to a or .
Web hosting part is straightforward with an app like . However navigating to the hosted site is a little cumbersome as you have to know the local IP of the server. So I am looking for a way to automatically forward everyone who connects to the hotspot to a particular IP (that of the webserver). Similar to how most public WiFi networks take you to a login page when you connect?

Does anyone know how to do this easily (on a non-rooted phone)?


Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by cole.jules
3 hours ago
Last post by jgislason
21 minutes ago
Last post by leffertz
31 minutes ago
Lost contacts
Started by allie05
Last post by bruce.baumbach
2 hours ago
Last post by ncorkery
2 hours ago
Last post by keaton.nolan
2 hours ago
Last post by everette.jast
53 minutes ago