Test your sites on an iPhone

Open your local sites on an iPhone by their real .local names, and trust your local certificates for HTTPS.

4-minute read Applies to XenoHost 1.0.4 Updated

While XenoHost is running, it announces every enabled site’s hostname on your local network, subdomains included. An iPhone on the same Wi-Fi can open mysite.local or blog.mysite.local in Safari with nothing to set up on the phone.

Open a site over HTTP

Connect the iPhone to the same Wi-Fi as your Mac and type the site’s address in Safari. That’s it. Names can take a few seconds to appear after you add a site.

Trust your certificates for HTTPS

Your sites’ certificates come from your Mac’s mkcert certificate authority. The iPhone needs to trust that authority once.

  1. Send the profile

    In Settings›Phone, click Send to iPhone. XenoHost AirDrops a profile that contains only your CA’s public certificate, never its key.

  2. Install the profile

    On the iPhone, open Settings›General›VPN & Device Management and install the downloaded profile.

  3. Turn on full trust

    Open Settings›General›About›Certificate Trust Settings and switch on your CA. Until you do, iOS installs the profile but doesn’t trust it for websites.

If a name doesn’t open

  • Check Settings›Phone in XenoHost: it shows each name’s status and your Mac’s network address.
  • Make sure both devices are on the same network. Guest and some office networks block Bonjour, which the names rely on, and there’s no workaround on the phone.
  • Using alternate ports (8080 and 8443)? Add the port to the address.
  • Names are only announced while XenoHost is running. Keeping them available after the app quits is planned.

XenoHost is an independent app and is not affiliated with, endorsed or sponsored by Apple Inc. iPhone, Safari, AirDrop, Bonjour, Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.

MAMP PRO is a trademark of its respective owner. XenoHost is independent and is not affiliated with or endorsed by its owner.

Questions about XenoHost?

Check the help pages first, or send us a message and we’ll get back to you within 24 hours.

Need help with an app or a license? Open a support ticket →

We reply within 24 hours on business days.