# tvl: The miracles of captive.apple.com for public WiFi

- Link: https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/
- Published: 2024-06-12T12:52:52-07:00
- Author: rich

OK, I can’t believe I hadn’t learned this tip, but if you have trouble connecting
your iPhone or Mac to a public WiFi captive portal. Many times, the phone seems 
to hang.

The trick is to go to Safari and [type](https://discussions.apple.com/thread/252074561)
in `captive.apple.com` This is the magic URL that will repoint you to whatever login
portal website you need.

Most of the time when you connect via Settings > Wifi > Connect a new network it
should come automatically but lots of times for me it doesn’t, so this is a great
hack that’s even [officially](https://support.apple.com/en-us/102554) sanctioned
🙂

The [default Apple behavio](https://www.macworld.com/article/230806/can-you-free-yourself-from-captiveapplecom.html)
r is that when you connect to a new WiFi, they hijack a DNS request from your browser
and redirect you to a local page that lets you log in. What Apple does is when you
first connect to WiFi, it tries to connect to `apple.com` and if it doesn’t get 
the right IP address, it knows there is DNS hijacking going on.

So in the WiFi connection itself, it brings up a web page, you can even see captive.
apple.com for a split second and then the public WiFi takes over. This sometimes
doesn’t work and then you have to manually do the captive.apple.com connection with
your browser.

### Share this:

 * [  Mastodon ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?subject=%5BShared%20Post%5D%20tvl%3A%20The%20miracles%20of%20captive.apple.com%20for%20public%20WiFi&body=https%3A%2F%2Ftongfamily.com%2F2024%2F06%2F12%2Ftvl-the-miracles-of-captive-apple-com-for-public-wifi%2F&share=email)
 * [More](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/#)

 * [  Telegram ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=telegram)
 * [  Print ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=tumblr)
 * [  X ](https://tongfamily.com/2024/06/12/tvl-the-miracles-of-captive-apple-com-for-public-wifi/?share=twitter)

### Like this:

Like Loading…
