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.
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.
Install the profile
On the iPhone, open Settings›General›VPN & Device Management and install the downloaded profile.
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.