We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged


The simplest way to define a host to IP mapping is hosts file as mostly DNS resolvers honor that file. But as mentioned in other answers, it's not possible to edit /etc/hosts without rooting Android device. Accessing web server with IP address also won't work for you due to virtual hosting. Here are a few options you can go with on unrooted device: Use a ...


NOTE: Solution suggested here requires root access. I would like for all requests by connected devices to be redirected to my webpage When you create hotspot, Android runs dnsmasq as DHCP/DNS server (up to Android 9). We can use this DNS server to resolve every domain to your desired IP address. But you need to make sure the connected hosts don't use ...

Top 50 recent answers are included