On the Headless settings page you choose where the front end lives. A deploy hook works with Vercel, Netlify, Cloudflare and GitHub. On this server writes static files to a folder you choose, found automatically for HestiaCP and checked by fetching one file from the front end address. My own server with Node.js sends a signed request to the receiver that comes with the Astro starter.
A health check tells you what is wrong and how to fix it before you switch the front end on. Calls to a deploy hook accept https only and public hosts only, redirects are not followed, and a failed call never blocks saving.