Guides

UniFi Captive Portal Not Loading? A Diagnostic Checklist

Troubleshoot UniFi captive portals that do not appear, redirect incorrectly, block assets, or leave guests offline after form submission.

UniFi Captive Portal Not Loading? A Diagnostic Checklist

When a UniFi captive portal fails, the visible symptom is usually simple: the guest joins WiFi but never sees the sign-in page. The cause may be the SSID configuration, DNS, pre-authorization rules, portal reachability, client detection, or the final authorization request.

Use this sequence to isolate the failure instead of changing several settings at once.

1. Confirm the guest network and SSID

UniFi supports captive portals on a WiFi SSID or an entire hotspot network. Public guest networks should also use appropriate network and client isolation.

2. Trigger the portal with an HTTP request

Captive-portal detection varies between operating systems. Open a simple HTTP page in a browser after joining the guest network. Do not test only by opening an HTTPS site.

If HTTP triggers the portal but HTTPS does not, the network may be working as designed. The captive portal must first intercept a request that can be redirected safely.

3. Check DNS and portal reachability

The guest device must be able to resolve and reach the portal before authorization. Check:

UniFi’s port reference identifies DNS as required for guest portal redirection. It also lists TCP 8880–8882 for HTTP hotspot redirection and TCP 8843 for HTTPS hotspot redirection in relevant deployments.

4. Check pre-authorization access

If the page shell loads but looks broken, the guest may be able to reach the HTML page but not its assets. Add only the required portal domains to the pre-authorization or walled-garden configuration.

Test each required hostname from a fresh guest device. Avoid allowing broad internet access before authorization.

5. If using an external portal, inspect the redirect parameters

UniFi’s External Hotspot API documentation shows that the external portal can receive parameters including:

Log these values safely during testing. Confirm that the portal is receiving the request for every test client and that the original destination is preserved.

6. Separate client lookup from authorization

An external portal commonly needs to identify the UniFi client before authorizing it. Treat these as separate checks:

  1. Identify the correct UniFi site.
  2. Find the client using the received client address or another supported identifier.
  3. Confirm the returned client ID belongs to the current test device.
  4. Submit the guest-authorization action.
  5. Inspect the API response.
  6. Confirm the client status changes to authorized.

Do not redirect the guest before authorization succeeds. Otherwise, the guest may see a success page while remaining offline.

7. If authorization succeeds but browsing fails

Check the following:

Forget the guest network and repeat the test with a clean client state.

8. Test more than one device and AP

Run the complete flow on:

A portal that works in a normal browser may still fail in an operating system’s captive assistant. Keep the first page lightweight and make the successful authorization response obvious.

9. Capturing email responsibly

If the goal is contact capture, request only information needed for the stated purpose. Explain why the email is requested, link to the privacy notice, and use a separate marketing-consent control where appropriate.

This guide is technical information, not legal advice. Review the privacy and electronic-marketing requirements that apply to your venue and jurisdiction.

10. A hosted alternative

If you do not want to maintain the external portal, API integration, consent flow, and troubleshooting process yourself, LiquidEdge provides a hosted WiFi marketing portal for businesses operating a hosted UniFi controller.

Create a free LiquidEdge account, connect one UniFi controller, choose one site and AP, and launch your first portal.

The permanent free plan is designed for one site and one access point. Paid expansion is available when you need more sites or APs, higher contact limits, richer analytics, exports, integrations, branding removal, or marketing automation.

Quick decision tree