With Snapt Aria, you can easily set up health checks to ensure that your backend services are up and running before marking a load-balanced pool as online. But how do you check to see if a specific host (website) is online?
The HTTP Check URL is often set to / for the index page, or sometimes a specific page such as /status.
If you want to send a Host header with it (for a specific website) you can do so by entering the hostname in the optional field provided:
For example, to check /status on www.snapt.net you would set the following string:
Step 1: Edit your group or backend
To set up the above, you’ll need to navigate to your Group or Backend Management and click on “Edit”
Step 2: Protocol Tests
Next, click on the “Protocol Tests” tab to access all the health check options with Snapt Aria virtual Load Balancer.
Step 3: HTTP Check
Now, you’ll toggle on the HTTP Check button to “On”
We’ll now also set the HTTP Method to “GET” and you’ll specify the settings shown above. (Remember to specify the relevant URL and hostname)