# How should I configure a health endpoint for a hosted application?

Canonical URL: https://help.iagenify.com/faqs/hosting/how-should-i-configure-a-health-endpoint-for-a-hosted-application

[← Back to Hosting FAQs](https://help.iagenify.com/faqs/hosting)

HELP CENTER · FAQ Hosting 2 min read
# How should I configure a health endpoint for a hosted application?
A health endpoint helps a hosting platform or operator determine whether an instance can receive traffic, but its meaning depends on what it checks. Keep the response quick, safe, and aligned with the platform's documented health-check behavior so a temporary dependency issue does not cause unnecessary restarts.
IaGenify
Hosting

## Separate readiness from process health
A liveness check should answer whether the process is running well enough to continue; it should not fail merely because a downstream service is briefly slow. A readiness check can determine whether this instance should receive new traffic, such as while startup or a required initialization is incomplete.
Check only dependencies that determine whether serving requests is safe. If the health path performs expensive queries or calls many services, the check itself can add load and amplify an incident.
## Protect and test the endpoint
Return a minimal status without internal credentials, customer data, or detailed error traces. If a public route exposes health information, consider whether an unauthenticated caller needs to see it and follow the hosting platform's required accessibility.
Test startup, dependency degradation, recovery, and graceful shutdown. Confirm the expected status code, timeout, and path in hosting settings; an endpoint that is healthy in development may be unreachable or differently routed in production. [← Back to Hosting FAQs](https://help.iagenify.com/faqs/hosting)
