You have to disable the DNS rebind protection and even then Chrome/Firefox might block the attempt to redirect because it will be expecting an ssl site.
I usually go to neverssl.com so that you get redirected to the captive portal.

1 Like