If you find yourself needing to monitor a website that shares a domain but is not your production server such as a backup or non-production site, you can do this with the proper monitor setup using host headers.

What types of monitors work for this?

You can set up this type of monitoring using HTTP, HTTPS, and web service monitors. Unfortunately, this doesn't work with the Full Page Check, Real Browser Check, or Transaction Monitoring.

What you need

To set up monitors with host headers you need:

  • The URL the web server is listening to, and
  • The IP address of the server Uptrends needs to access directly.

Setting up the monitor

To set up a monitor:

  1. Open an existing or new monitor
  2. Enter the IP Address and the domain name in an inverted fashion into the URL field on the Main tab.

  3. Switch to the Advanced tab.
  4. Enter "Host:" followed by the domain name in the HTTP request headers field (see below).
  5. Add a Page content match (Alert Conditions tab) that contains content unique to the backup site that is not on the live site to ensure that you are accessing the correct site (optional).
  6. Complete your setup and click Save.